Case
Reference documentation for using the Case expression
Written By Ben Lehmann
Last updated 8 months ago
Purpose | Select path through an expression, based on case conditions |
Parameters | Cases |
Returns | Case path Result |
Description
Case expressions use clauses to select an appropriate branch to follow. These involve evaluating date but are always ultimately determined by a logical expression.
Case - a particular βrouteβ or βpathβ taken by the expression after reaching the Case expression.
Clause - a logical expression used to select a path. It is attached to the top of a path. If a clause for a case evaluates as TRUE, then that path is select and the Result of that case branch is outputted.
Default case - a non-removable case that is used when there are no other cases with clauses which evaluate to TRUE. It doesnβt have a clause and cannot have one added.


Comments
The Case expression behaves similarly to the Case Action, allowing conditional logic based on evaluated values.
v3.0