Property description
The workflowTransitionStateFilter clause filters objects based on workflow transitions and approval criteria.
Minimal JSON
{
"type": "workflowTransitionStateFilter",
"workflowTransitions": [
{
"fromKey": "",
"toKey": ""
}
]
}
Nested properties
At least one of minApprovedBy or minApprovedByPercent must be defined. Both can be set together.
| Property | Description | Values | Mandatory |
|---|---|---|---|
type | workflowTransitionStateFilter | string | Yes |
workflowTransitions | Array of workflow transitions the filter applies to. See workflowTransitions properties. | array | Yes |
minApprovedBy | Number of people who approved the transition. For example, if 2 (out of 3) is set, the object will continue in the stream despite the workflow state not changing. | integer | Yes |
minApprovedByPercent | Number of people who approved the transition in percentage. For example, if 75 percent is set, the object will continue in the stream despite the workflow state not changing. | integer | Yes |
userRelationTypeKeys | Keys of user relation types that approve the workflow transition. | array of strings | No |
workflowTransitions properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
fromKey | Key of the workflow state where the transition begins. | string | Yes |
toKey | Key of the workflow state where the transition ends. | string | Yes |