This site has moved to the integrated Appfire documentation and information site for our apps.
From February 2024 this site is no longer updated.
Take a look here! If you have any questions please email support@appfire.com
"initial" condition
Overview
One or more conditions
can be set for a trigger for a named event in the workflow.
Adding the "initial":true
condition to a trigger listens for the trigger event that occurs when the document is the initial change to the state for a workflow applied to a document.
This trigger will only listen for the first transition into a state. The condition is boolean with a value of true
or false
and can be constrained to a single named state in the workflow by using together with the "state"
condition.
When the named workflow event occurs the trigger will check that any required condition is met, and if met set one or more actions.
If "initial"
condition is added together with the "final"
condition to an event, the condition is evaluated as an OR function.
JSON Condition | JSON Code | Note |
---|---|---|
| "conditions":
[
{"initial":true}
], | The trigger action will occur if the current state is the The
The
|
Â