IfThenElseTextType ------------------ Describes an if-then-else decision type for conditional text. IF the stated condition is met, the THEN clause is trigged, otherwise the ELSE clause is triggered. Contains an IfCondition (the condition that must be met to trigger the Then clause), a ThenResult (indicating the ConditionalResult to invoke if the condition is met), an ElseResult (indicating the construct to invoke if the condition is not met), and an ElseIfText structure allowing the expression of multiple conditions to invoke multiple branching. Properties ~~~~~~~~~~ .. csv-table:: :header: "Name","Type","","Description" :widths: 15,10,5,100 "IfCondition",":doc:`/composite-types/CommandCodeType/index`","0..1","The condition which must be met to trigger the Then clause, expressed as a CommandCode. The condition is an expression in the programming language used in the instrument." "ThenResult",":doc:`/composite-types/ConditionalResultType/index`","0..1","The conditional response which should be triggered if the associated condition is met." "ElseIfText",":doc:`/composite-types/ElseIfTextType/index`","0..n","Use for multiple branching from a single point in the flow logic represented by the flow logic If, Then, ElseIf, Then, etc." "ElseResult",":doc:`/composite-types/ConditionalResultType/index`","0..1","The conditional response which should be triggered if the associated condition is not met." Relationships ~~~~~~~~~~~~~ The following types reference this type. * :doc:`/composite-types/ConditionalTextType/index` .. container:: image |stub| .. |stub| image:: ../../images/IfThenElseTextType.svg