If-Else
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
Parameter | Parameter | Valid Blocks | Required |
---|---|---|---|
Set an Override Name | Show the override name slot in the tree so that it can be set statically or dynamically | Boolean Block Group | No |
Override Name | The override name of this item. Use this to replace the inherited name with a custom name. Expose it on the tree to set it dynamically. | Text Block Group | No |
Attributes | Metadata values for this block. Used in XML and multipart/form-data. | Text Block Group | No |
Conditions | The list of conditional branches | Return Condition Block Group | No |
Else | An optional default value to return if none of the conditions is true | Any Data Type Block Group | No |