Element Name | Branching |
---|---|
Parent Elements | WorkflowDef |
Element XPath(s) | /ODM/Study/MetaDataVersion/Protocol/WorkflowDef/Branching |
Element Textual Value | None |
Attributes | OID, Name,Type |
Child Elements | |
Usage/Business Rules |
|
Attribute | Schema Datatype or Enumeration | Usage | Definitions | Business Rule(s) |
---|---|---|---|---|
OID | oid | Required | Unique identifer for the Branching element. |
|
Name | name | Required | Human readable name for the Branching element. |
|
Type | (Exclusive | Parallel) | Required | Specifies the type of Branching. The Type attribute defines whether only one branch of the branching ("Exclusive") can be followed, or that all branches 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 Branching
ODM2DEV-65
-
Getting issue details...
STATUS
describes the branching in a workflow from a source (start) structural element to two or more target structural elements, over a "Transition" element.
TODO Add a picture , like with "Structural Element A", "Transition A to Branching", "Branching", "Transition Branching to Structural Element B", "Structural Element B", "Default Transition Branching to Structural Element C", "Structural Element C"
TODO: Add coding snippet or example file reference Physio_Underwater_Therapy_BPMN_to_ODMv2_Workflow.xml
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 branch of the branching ("Exclusive") can be followed, or that all branches 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.