Expressions
The workflow expression language is used anywhere there is an assignment to a variable or for constructing comparisons. For example, the following expression ensures that these conditions are met:
- The value of the string variable named “membership” is set to “gold”.
- The value of the numeric variable named “waitTime” multiplied by the numeric variable named “factor” is greater than 4000 OR The value of the string variable named “status” is set to “pending” or “error”.
membership == "gold" and (waitTime * factor > 4000 or status in ("pending", "error"))
↑