2,248 bytes added,
14 May {{ClassificationInfoBox
| title = Switch Task classification object
| name = {{PAGENAMEE}}
| inheritance = [[MROCLS_SEQUENTIALTASK]]
| namespace = MRO.Classification
| purpose = Classify tasks as switch tasks
| version = 5.0.0
| id = {FE4C6189-DD7D-4B42-83C6-7594CCB91D00}
}}
Classifies an object as a Switch Task.
This classification is an [[AutonomousClassification|Autonomous Classification]] where the defined properties are autonomously added to the MetaDefinitions. A Switch Task is a sequential task used within Procedure Workpackages to introduce branching logic. It evaluates a predefined condition/expression, which can be evaluated by the client, to determine which branch of the workflow to execute. Each branch represents a different path of tasks. Every Switch Task must be followed by a Switch End Task, where the two branches merge again and the procedure continues.
== MetaProperties ==
{| class="wikitable" width=50%
|-
! width=30% | Name !! width=20% | Data type !! Comment
|-
| EXPRESSION || {{String}} || Condition that will be evaluated by the client
|-
| EVALUATION_STATUS || {{Integer; SLL}} || Evaluation state (Undefined, Ongoing, Finished, Error)
|-
| BRANCH_TRUE || {{Guid}} || Link to another task or task owner for the case the expression is evaluated as true
|-
| BRANCH_FALSE || {{Guid}} || Link to another task or task owner for the case the expression is evaluated as false
|-
| DISPLAYSTRING_TRUE || {{String}} || DisplayString for the case the expression is evaluated as true
|-
| DISPLAYSTRING_FALSE || {{String}} || DisplayString for the case the expression is evaluated as false
|}
== See also ==
* [[MROCLS_MRO_TASKOWNER#Task Owner]] (Classification)
* [[MROCLS_MRO_TASK#Task]] (Classification)
* [[MROCLS_MRO_MEASUREMENT_TASK#Measurement Task]] (Classification)
* [[MROCLS_MRO_PROGRESS_TASK# Progress Task]] (Classification)
* [[MROCLS_MRO_CHECK_TASK#Check Task]] (Classification)
* [[MROCLS_MRO_INSPECTION_TASK#Inspection Task]] (Classification)
* [[MROCLS_MRO_WORKPACKAGE#Work Package]] (Classification)
* [[MROCLS_SEQUENTIALTASK#Sequential Task]] (Classification)
* [[MROCLS_SWITCH_END_TASK#Switch End Task]] (Classification)
* [[MRO_Objects_(Client)#Work_Package]]
* [[MRO_(Plugin)#Work_Package]]