state condition
Overview
One or more conditions
can be set for a trigger for a named event in the workflow. Adding a condition is optional.
Adding the "state"
condition to a trigger listens for the trigger event when the document is in the state specified in the condition. Only one state is set for the condition.
The state name used in the condition must be a state in the workflow.
When the named workflow event occurs, the trigger checks that the state condition is met and sets one or more actions if met.
Condition | JSON code | Notes |
---|---|---|
| "conditions":
[
{"state": "Review"}
], | The trigger action occurs if the condition matches the provided
|