You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Element NameBranching
Parent ElementsWorkflowDef
Element XPath(s)

/ODM/Study/MetaDataVersion/Protocol/WorkflowDef/Branching 

Element Textual ValueNone
AttributesOID, Name,Type
Child Elements

(TargetTransition+, DefaultTransition?)

Usage/Business Rules
  • Business Rule(s):
    • If more than one TargetTransition element is provided, the conditionality tests must be executed in the order the elements are provided.
    • The DefaultTransition will be followed when none of the TargetTransitions can be executed due to not fulfilling their associated conditions.

AttributeSchema Datatype or EnumerationUsageDefinitionsBusiness Rule(s)
OIDoidRequiredUnique identifer for the Branching element.
  • The Branching/@OID attribute must be unique within the Study/MetaDataVersion.
NamenameRequiredHuman readable name for the Branching element.
  • The Branching/@Name attribute must be unique within the set of Study/MetaDataVersion/WorkflowDefs
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 TargetTransition element must provide a reference to a ConditionDef when the value of Type is  "Exclusive".


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.

  • No labels