<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
True/False Compare Card Output Result Might Be Incorrect
Workflows
Okta Classic Engine
Okta Identity Engine
Overview

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.

Workflows 

Applies To
  • Okta Workflows
Cause

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.

Solution

Be sure to set values A and B to the same type (texts, numbers, or dates).

Recommended content

Documentation
If/Else
Documentation
Compare
Loading
True/False Compare Card Output Result Might Be Incorrect