The trigger action "change-state" causes a change of the state to the specified state if the provided parameters are valid. ❗️ indicates a mandatory parameter - the "state" parameter and its value for the destination state must be added for the trigger action Code Block |
---|
"triggers":
[
{"event": "on-change-state",
"conditions":
[
{"final":true}
],
"actions":
[
{"action": "change-state",
"state": "Review"}
]}
] |
If adding the JSON trigger using workflow builder there is no need to include the opening "triggers": JSON markup notation, since it will be added by workflow builder. The destination state must be included for the "change-state" action. |