In some cases, the True/False Compare card may have unexpected results in the output field. In the example below, comparing if value A "6" (TEXT) is less than value B 30 (NUMBER) will return the result as FALSE.
This is due to workflows does not perform implicit datatype conversions as part of comparison actions.
- Okta Workflows
The cause is that the type of value A and value B are different. In the example above, the value A is text, while the value B is a number. If a number is passed in as text, TEXT compare is performed. Workflows does not perform implicit datatype conversions for comparisons.
Be sure to set values A and B to the same type (texts, numbers, or dates).
