Body:
Attributes:
The Branching describes the branching in a workflow from a source (start) structural element to two or more target structural elements.
When source and target are the same structural element, this represents a loop or repetition of the structural element. As such, the Branching element must also be used to represent "repeat until" activities.
The conditions for following one branch or several of them are defined at the level of the TargetTransition and DefaultTransition elements.
The Type attribute defines whether only one arm of the branching ("Exclusive") can be followed, or that all arms of the branching can be followed in parallel ("Parallel").
In the case of "Exclusive", the conditions must be tested in the order that the TargetTransition elements are provided.
The DefaultTransition will be followed when none of the TargetTransitions can be executed due to not fulfilling their associated conditions.