Trigger to immediately transition from the Rejected to the Triage state
In the 4 state workflow shown below, you might want the workflow to move from a Rejected state to a more proactively named Triage state.
o
You can use a trigger to listen for the state change event to the Rejected state and set this trigger action to immediately transition to the Triage state.
"triggers": [ { "event":"on-change-state", "conditions":[ { "state":"Rejected" } ], "actions":[ { "action":"change-state", "state":"Triage" } ] } ]
If adding the JSON trigger using workflow builder there is no need to include the opening "triggers":
JSON markup notation, it will be automatically added by workflow builder.
event | on-change-state |
|
---|---|---|
condition | state:Rejected |
|
action | change-state |
|