-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WORKITEMS-3562 Add Task Management Rules resources (#1451)
* Add task management oncreate rule resource * WORKITEMS-3562 Add onattributechange rules resource * WORKITEMS-3562 Fix names in docs * WORKITEMS-3562 Add docs * WORKITEMS-3562 Add Task management datebased rules * WORKITEMS-3562 Fix datebased Rules and other fixes * WORKITEMS-3562 Add docs for datebased Rules * WORKITEMS-3562 Fix PR comments * WORKITEMS-3562 Update docs * WORKITEMS-3562 Change resource names * WORKITEMS-3562 Format source code
- Loading branch information
1 parent
cb4f799
commit f24d665
Showing
49 changed files
with
3,071 additions
and
17 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
docs/data-sources/task_management_worktype_flow_datebased_rule.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "genesyscloud_task_management_worktype_flow_datebased_rule Data Source - terraform-provider-genesyscloud" | ||
subcategory: "" | ||
description: |- | ||
Genesys Cloud task management datebased rule data source. Select a task management datebased rule by name | ||
--- | ||
|
||
# genesyscloud_task_management_worktype_flow_datebased_rule (Data Source) | ||
|
||
Genesys Cloud task management datebased rule data source. Select a task management datebased rule by name | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "genesyscloud_task_management_worktype_flow_datebased_rule" "datebased_rule_data" { | ||
worktype_id = genesyscloud_task_management_worktype.example.id | ||
name = "DateBased Rule" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) The name of the Rule. | ||
- `worktype_id` (String) The Worktype ID of the Rule. | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. |
32 changes: 32 additions & 0 deletions
32
docs/data-sources/task_management_worktype_flow_onattributechange_rule.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "genesyscloud_task_management_worktype_flow_onattributechange_rule Data Source - terraform-provider-genesyscloud" | ||
subcategory: "" | ||
description: |- | ||
Genesys Cloud task management onattributechange rule data source. Select a task management onattributechange rule by name | ||
--- | ||
|
||
# genesyscloud_task_management_worktype_flow_onattributechange_rule (Data Source) | ||
|
||
Genesys Cloud task management onattributechange rule data source. Select a task management onattributechange rule by name | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "genesyscloud_task_management_worktype_flow_onattributechange_rule" "onattributechange_rule_data" { | ||
worktype_id = genesyscloud_task_management_worktype.example.id | ||
name = "OnAttributeChange Rule" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) The name of the Rule. | ||
- `worktype_id` (String) The Worktype ID of the Rule. | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. |
32 changes: 32 additions & 0 deletions
32
docs/data-sources/task_management_worktype_flow_oncreate_rule.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "genesyscloud_task_management_worktype_flow_oncreate_rule Data Source - terraform-provider-genesyscloud" | ||
subcategory: "" | ||
description: |- | ||
Genesys Cloud task management oncreate rule data source. Select a task management oncreate rule by name | ||
--- | ||
|
||
# genesyscloud_task_management_worktype_flow_oncreate_rule (Data Source) | ||
|
||
Genesys Cloud task management oncreate rule data source. Select a task management oncreate rule by name | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "genesyscloud_task_management_worktype_flow_oncreate_rule" "oncreate_rule_data" { | ||
worktype_id = genesyscloud_task_management_worktype.example.id | ||
name = "OnCreate Rule" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) Task management oncreate rule name | ||
- `worktype_id` (String) The Worktype ID of the Rule. | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
docs/resources/task_management_worktype_flow_datebased_rule.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
page_title: "genesyscloud_task_management_worktype_flow_datebased_rule Resource - terraform-provider-genesyscloud" | ||
subcategory: "" | ||
description: |- | ||
Genesys Cloud task management onattributeChange Rule | ||
--- | ||
# genesyscloud_task_management_worktype_flow_datebased_rule (Resource) | ||
|
||
Genesys Cloud task management onattributeChange Rule | ||
|
||
## API Usage | ||
The following Genesys Cloud APIs are used by this resource. Ensure your OAuth Client has been granted the necessary scopes and permissions to perform these operations: | ||
|
||
* [GET /api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-taskmanagement-worktypes--worktypeId--flows-datebased-rules) | ||
* [POST /api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules](https://developer.genesys.cloud/devapps/api-explorer#post-api-v2-taskmanagement-worktypes--worktypeId--flows-datebased-rules) | ||
* [GET /api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-taskmanagement-worktypes--worktypeId--flows-datebased-rules--ruleId-) | ||
* [PATCH /api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}](https://developer.genesys.cloud/devapps/api-explorer#patch-api-v2-taskmanagement-worktypes--worktypeId--flows-datebased-rules--ruleId-) | ||
* [DELETE /api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}](https://developer.genesys.cloud/devapps/api-explorer#delete-api-v2-taskmanagement-worktypes--worktypeId--flows-datebased-rules--ruleId-) | ||
|
||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "genesyscloud_task_management_worktype_flow_datebased_rule" "datebased_rule" { | ||
worktype_id = genesyscloud_task_management_worktype.example.id | ||
name = "DateBased Rule" | ||
condition { | ||
attribute = "dateDue" | ||
relative_minutes_to_invocation = -10 | ||
} | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `condition` (Block List, Min: 1, Max: 1) Condition for this Rule. (see [below for nested schema](#nestedblock--condition)) | ||
- `name` (String) The name of the Rule. | ||
- `worktype_id` (String) The Worktype ID of the Rule. | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
||
<a id="nestedblock--condition"></a> | ||
### Nested Schema for `condition` | ||
|
||
Required: | ||
|
||
- `attribute` (String) The name of the workitem date attribute. | ||
- `relative_minutes_to_invocation` (Number) The time in minutes before or after the date attribute. | ||
|
60 changes: 60 additions & 0 deletions
60
docs/resources/task_management_worktype_flow_onattributechange_rule.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
--- | ||
page_title: "genesyscloud_task_management_worktype_flow_onattributechange_rule Resource - terraform-provider-genesyscloud" | ||
subcategory: "" | ||
description: |- | ||
Genesys Cloud task management onattributeChange Rule | ||
--- | ||
# genesyscloud_task_management_worktype_flow_onattributechange_rule (Resource) | ||
|
||
Genesys Cloud task management onattributeChange Rule | ||
|
||
## API Usage | ||
The following Genesys Cloud APIs are used by this resource. Ensure your OAuth Client has been granted the necessary scopes and permissions to perform these operations: | ||
|
||
* [GET /api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-taskmanagement-worktypes--worktypeId--flows-onattributechange-rules) | ||
* [POST /api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules](https://developer.genesys.cloud/devapps/api-explorer#post-api-v2-taskmanagement-worktypes--worktypeId--flows-onattributechange-rules) | ||
* [GET /api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-taskmanagement-worktypes--worktypeId--flows-onattributechange-rules--ruleId-) | ||
* [PATCH /api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}](https://developer.genesys.cloud/devapps/api-explorer#patch-api-v2-taskmanagement-worktypes--worktypeId--flows-onattributechange-rules--ruleId-) | ||
* [DELETE /api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}](https://developer.genesys.cloud/devapps/api-explorer#delete-api-v2-taskmanagement-worktypes--worktypeId--flows-onattributechange-rules--ruleId-) | ||
|
||
|
||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "genesyscloud_task_management_worktype_flow_onattributechange_rule" "onattributechange_rule_data" { | ||
worktype_id = genesyscloud_task_management_worktype.example.id | ||
name = "OnAttributeChange Rule" | ||
condition { | ||
attribute = "statusId" | ||
new_value = genesyscloud_task_management_worktype_status.example_status_1.id | ||
old_value = genesyscloud_task_management_worktype_status.example_status_2.id | ||
} | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `condition` (Block List, Min: 1, Max: 1) Condition for this Rule. (see [below for nested schema](#nestedblock--condition)) | ||
- `name` (String) The name of the Rule. | ||
- `worktype_id` (String) The Worktype ID of the Rule. | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
||
<a id="nestedblock--condition"></a> | ||
### Nested Schema for `condition` | ||
|
||
Required: | ||
|
||
- `attribute` (String) The name of the workitem attribute whose change will be evaluated as part of the rule. | ||
- `new_value` (String) The new value of the attribute. If the attribute is updated to this value this part of the condition will be met. | ||
|
||
Optional: | ||
|
||
- `old_value` (String) The old value of the attribute. If the attribute was updated from this value this part of the condition will be met. | ||
|
42 changes: 42 additions & 0 deletions
42
docs/resources/task_management_worktype_flow_oncreate_rule.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
page_title: "genesyscloud_task_management_worktype_flow_oncreate_rule Resource - terraform-provider-genesyscloud" | ||
subcategory: "" | ||
description: |- | ||
Genesys Cloud task management oncreate Rule | ||
--- | ||
# genesyscloud_task_management_worktype_flow_oncreate_rule (Resource) | ||
|
||
Genesys Cloud task management oncreate Rule | ||
|
||
## API Usage | ||
The following Genesys Cloud APIs are used by this resource. Ensure your OAuth Client has been granted the necessary scopes and permissions to perform these operations: | ||
|
||
* [GET /api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-taskmanagement-worktypes--worktypeId--flows-oncreate-rules) | ||
* [POST /api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules](https://developer.genesys.cloud/devapps/api-explorer#post-api-v2-taskmanagement-worktypes--worktypeId--flows-oncreate-rules) | ||
* [GET /api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-taskmanagement-worktypes--worktypeId--flows-oncreate-rules--ruleId-) | ||
* [PATCH /api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}](https://developer.genesys.cloud/devapps/api-explorer#patch-api-v2-taskmanagement-worktypes--worktypeId--flows-oncreate-rules--ruleId-) | ||
* [DELETE /api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}](https://developer.genesys.cloud/devapps/api-explorer#delete-api-v2-taskmanagement-worktypes--worktypeId--flows-oncreate-rules--ruleId-) | ||
|
||
|
||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "genesyscloud_task_management_worktype_flow_oncreate_rule" "oncreate_rule" { | ||
worktype_id = genesyscloud_task_management_worktype.example.id | ||
name = "OnCreate Rule" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `name` (String) The name of the Rule. | ||
- `worktype_id` (String) The Worktype ID of the Rule. | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The ID of this resource. | ||
|
4 changes: 4 additions & 0 deletions
4
...les/data-sources/genesyscloud_task_management_worktype_flow_datebased_rule/data-source.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
data "genesyscloud_task_management_worktype_flow_datebased_rule" "datebased_rule_data" { | ||
worktype_id = genesyscloud_task_management_worktype.example.id | ||
name = "DateBased Rule" | ||
} |
4 changes: 4 additions & 0 deletions
4
...-sources/genesyscloud_task_management_worktype_flow_onattributechange_rule/data-source.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
data "genesyscloud_task_management_worktype_flow_onattributechange_rule" "onattributechange_rule_data" { | ||
worktype_id = genesyscloud_task_management_worktype.example.id | ||
name = "OnAttributeChange Rule" | ||
} |
4 changes: 4 additions & 0 deletions
4
...ples/data-sources/genesyscloud_task_management_worktype_flow_oncreate_rule/data-source.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
data "genesyscloud_task_management_worktype_flow_oncreate_rule" "oncreate_rule_data" { | ||
worktype_id = genesyscloud_task_management_worktype.example.id | ||
name = "OnCreate Rule" | ||
} |
5 changes: 5 additions & 0 deletions
5
...les/resources/genesyscloud_task_management_worktype_flow_datebased_rule/apis.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
* [GET /api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-taskmanagement-worktypes--worktypeId--flows-datebased-rules) | ||
* [POST /api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules](https://developer.genesys.cloud/devapps/api-explorer#post-api-v2-taskmanagement-worktypes--worktypeId--flows-datebased-rules) | ||
* [GET /api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-taskmanagement-worktypes--worktypeId--flows-datebased-rules--ruleId-) | ||
* [PATCH /api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}](https://developer.genesys.cloud/devapps/api-explorer#patch-api-v2-taskmanagement-worktypes--worktypeId--flows-datebased-rules--ruleId-) | ||
* [DELETE /api/v2/taskmanagement/worktypes/{worktypeId}/flows/datebased/rules/{ruleId}](https://developer.genesys.cloud/devapps/api-explorer#delete-api-v2-taskmanagement-worktypes--worktypeId--flows-datebased-rules--ruleId-) |
8 changes: 8 additions & 0 deletions
8
examples/resources/genesyscloud_task_management_worktype_flow_datebased_rule/resource.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
resource "genesyscloud_task_management_worktype_flow_datebased_rule" "datebased_rule" { | ||
worktype_id = genesyscloud_task_management_worktype.example.id | ||
name = "DateBased Rule" | ||
condition { | ||
attribute = "dateDue" | ||
relative_minutes_to_invocation = -10 | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
...urces/genesyscloud_task_management_worktype_flow_onattributechange_rule/apis.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
* [GET /api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-taskmanagement-worktypes--worktypeId--flows-onattributechange-rules) | ||
* [POST /api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules](https://developer.genesys.cloud/devapps/api-explorer#post-api-v2-taskmanagement-worktypes--worktypeId--flows-onattributechange-rules) | ||
* [GET /api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-taskmanagement-worktypes--worktypeId--flows-onattributechange-rules--ruleId-) | ||
* [PATCH /api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}](https://developer.genesys.cloud/devapps/api-explorer#patch-api-v2-taskmanagement-worktypes--worktypeId--flows-onattributechange-rules--ruleId-) | ||
* [DELETE /api/v2/taskmanagement/worktypes/{worktypeId}/flows/onattributechange/rules/{ruleId}](https://developer.genesys.cloud/devapps/api-explorer#delete-api-v2-taskmanagement-worktypes--worktypeId--flows-onattributechange-rules--ruleId-) | ||
|
9 changes: 9 additions & 0 deletions
9
...s/resources/genesyscloud_task_management_worktype_flow_onattributechange_rule/resource.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
resource "genesyscloud_task_management_worktype_flow_onattributechange_rule" "onattributechange_rule_data" { | ||
worktype_id = genesyscloud_task_management_worktype.example.id | ||
name = "OnAttributeChange Rule" | ||
condition { | ||
attribute = "statusId" | ||
new_value = genesyscloud_task_management_worktype_status.example_status_1.id | ||
old_value = genesyscloud_task_management_worktype_status.example_status_2.id | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
...ples/resources/genesyscloud_task_management_worktype_flow_oncreate_rule/apis.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
* [GET /api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-taskmanagement-worktypes--worktypeId--flows-oncreate-rules) | ||
* [POST /api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules](https://developer.genesys.cloud/devapps/api-explorer#post-api-v2-taskmanagement-worktypes--worktypeId--flows-oncreate-rules) | ||
* [GET /api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}](https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-taskmanagement-worktypes--worktypeId--flows-oncreate-rules--ruleId-) | ||
* [PATCH /api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}](https://developer.genesys.cloud/devapps/api-explorer#patch-api-v2-taskmanagement-worktypes--worktypeId--flows-oncreate-rules--ruleId-) | ||
* [DELETE /api/v2/taskmanagement/worktypes/{worktypeId}/flows/oncreate/rules/{ruleId}](https://developer.genesys.cloud/devapps/api-explorer#delete-api-v2-taskmanagement-worktypes--worktypeId--flows-oncreate-rules--ruleId-) | ||
|
4 changes: 4 additions & 0 deletions
4
examples/resources/genesyscloud_task_management_worktype_flow_oncreate_rule/resource.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
resource "genesyscloud_task_management_worktype_flow_oncreate_rule" "oncreate_rule" { | ||
worktype_id = genesyscloud_task_management_worktype.example.id | ||
name = "OnCreate Rule" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.