Exclusive Node: If checked, transitions can be ordered and only the first transition for which conditions are true will be followed. If not checked and if several transitions are true, then they will all be followed corresponding to a fork in the workflow. (available from 5.7.2)
Add a transition:
When designing the graph, you cannot pull freely arrows from the output of a node to the next one. You first need to declare the transition in this tab. Once you did it, you will see an endpoint on the graph with the name of the transition, from which you will be able to pull the arrow. When adding a transition, you need to specify:
- Name: The name is only displayed in the graph, and used by the engine. You won't have to explicitly use this value later.
- Condition: This is the condition the workflow engine evaluates so as to know where to go after an node is executed. You have access to all the workflow context variables. If you don't set any condition, it will always be "true". The workflow engine supports having several conditions evaluated to true, in that case, you will have a "fork" on your workflow path.
- Chain: The chain will be executed when the workflow engine goes into this transition. In the context of this chain, you will have access to the Node Variables of the node on which it is declared. For instance, you would like to log in the audit that it was rejected, validated, or requested for update, you could add chains that use the Log Event In Audit operation and set a different value on each chain. The list of documents bound to the workflow instance will be the input of each chain. If there is only one document, it will still be a list, with one element.