Property description
The setWorkflowState action type assigns a new workflow state to the selected objects.
Minimal JSON
{
"key": "",
"type": "setWorkflowState",
"newWorkflowStateKey": ""
}
Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Key of the action. | string | Yes |
type | setWorkflowState | string | Yes |
newWorkflowStateKey | Key of the new automatically assigned workflow state. | string | Yes |
Ensure the change is defined in workflow transitions otherwise the automation will not be allowed.