JSON Condition | JSON Code | Note |
---|---|---|
| "conditions": [ {"final":true} ], | The trigger action will occur if the state for the event is the For example,
This The
If |
Example on-change-state
event
If adding the JSON trigger using workflow builder visual builder there is no need to include the opening The trigger action clears any existing messages on the content The messages are only cleared on the change of state to the final state in the workflow"triggers":
[
{"event": "on-change-state",
"conditions":
[
{"final":true}
],
"actions":
[
{"action": "clean-messages"}
]}
]
"triggers":
JSON markup notation, it is added automatically by workflow builder."actions":[{ "action":"clean-messages"}],
"conditions": [{"final": true}],