...
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" | - trigger will only listen for a state change event - event
- condition added to constrain the event to the state change to the Rejected state
|
---|
condition | "state": "Rejected" | - state condition for the trigger event. Condition is
- condition is met if the current state is the Rejected state
|
---|
action | "change-state" | - on state change event to the Rejected state, the workflow immediately transitions to the specified state in the
change-state action (Triage state)
|
---|
...