Ensure that the expression evaluates to a boolean value
- Last UpdatedNov 04, 2024
- 1 minute read
At run time, when an expression evaluates to True, the raw reason code can be considered as a candidate to be the active raw reason code. The expression should evaluate to a Boolean value or to some other value that can easily be converted to a Boolean value. For example, an integer with a non-zero value will evaluate to True at run time.
If the type of the expression is other than Boolean, then the result of the expression at run time will be cast to a Boolean type according to the standard coercion rules applied throughout System Platform expression evaluation.