final condition



final condition

Overview

You can add one or more conditions for a named event in the workflow to limit when the workflow trigger activates. Conditions help constrain the trigger, ensuring it only listens for specific occurrences of the event.

Adding the Is Final State as True condition to a trigger listens for the trigger event when the document is in the workflow final state.

cdmc_visualeditor_trigger_onchangestate_event_condition_finalstate_cleanmessages.png
  • the condition is a boolean condition with a value of True or False

When the named workflow event occurs, the trigger checks that any required condition is met and sets one or more actions added to the trigger.

 



JSON Condition

JSON code

Note

JSON Condition

JSON code

Note

"final": (boolean true/false)

"conditions": [ {"final":true} ],



The trigger action occurs if the state for the event is the final state.

For example, 

  • "event":"on-change-state", "conditions":[{"final":true}],

This "on-change-state" event condition is met on the the change to the final state in the workflow.

The final parameter value is a boolean condition

  • "final":true

  • "final":false

Example on-change-state event

Trigger conditions

Related Pages