Skip to main content

If-Else

Overview

Returns a value based on whether a condition is true. The value of the first true condition in the list will be returned, otherwise an optional default value from the 'else' slot will be returned.


Parameters

ParameterParameterValid BlocksRequired
Use Dynamic NameShow the Dynamic Name slot in the tree so that it can be set dynamicallyBoolean Block GroupNo
Dynamic NameThe dynamic name of this itemText Block GroupNo
AttributesMetadata values for this block. Used in XML and multipart/form-data.Text Block GroupNo
ConditionsThe list of conditional branchesReturn Condition Block GroupNo
ElseAn optional default value to return if none of the conditions is trueAny Data Type Block GroupNo