To perform a set of commands depending on the condition.
Condition evaluated in the case.
Blocks that are executed if the condition evaluates respectively to true or false.
Establish a final alternative in case all previous conditions are not matched.
The Otherwise operator is often used in Expression Formulas as the last alternative in case all previous IF conditions are not matched.
The alternative value is the value indicated to the left of the OTHERWISE operator. This value must coincide with the attribute's definition.
Any type of conditions can be used involving attributes and/or variables. The first Case whose condition is satisfied will be executed, and none of the others will be executed. In case all other Case conditions evaluate to false, then the commands specified under Otherwise are executed. It works in the same way if/else work.
In Smart Devices works on both Client-side and Server-side events.