initial condition

Overview

One or more “conditions" can be set for a trigger for a named event in the workflow. Adding a condition is optional.

Adding the "initial":true condition to a trigger, listens for the trigger event that occurs when the state is the workflow initial state.

  • the condition is boolean 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 if they are met.

Constrain the initial condition to a single named state in the workflow by using it together with the "state" condition. The two conditions used together are evaluated as an AND function.

 



JSON Condition

JSON code

Note

JSON Condition

JSON code

Note

"initial":(boolean true/false)

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



The trigger action occurs if the current state is the initial state.

The initial condition is constrained to a named state by including the trigger state condition

  • "conditions":[{"initial":true},{"state":"Review"}],

The initial parameter value is boolean

  • "initial":true

  • "initial":false

The initial state in a cloud is the workflow state applied when the workflow is added to the document. This is the first listed workflow state in the workflow template.

Example on-change-state event



Trigger conditions

Related Pages