43% of Part I — the exam's largest section, split across 4 modules.
this deck covers 2 of 4 sub-topics in this module
↑ Module 3 OverviewEvery conditional branch in a flow eventually needs a true/false decision. Okta Workflows gives you one dedicated function for this: Expression.
The Expression function lets you "build a True or False expression by combining operators and values that you type with fields that you drag and drop in." At runtime the whole expression evaluates to a single true/false output.
Logical operators: and (all true), or (any true), not (inverts), xor (true only if exactly one side is true). Use parentheses to group sub-expressions.
Math operators are also valid inside an Expression (see the Formula function for the full math operator/function list). Example from the docs: true and (true or false) and (4>pi). Fields from earlier in the flow can be dropped in anywhere a value is expected.
When a field isn't already True/False: a Number evaluates false only when it's 0 (otherwise true); a Text field evaluates false when it's null or the literal string "false" (otherwise true); a Date field converts to a timestamp for use in comparisons.
Straight from the docs: "Text comparisons are currently not supported inside a True/False Expression." Okta says they're working on it, but for now, if you need to compare two pieces of text, you must use the separate Compare function instead of trying to do it inside Expression.
Source: help.okta.com — Expression (ext-boolean-method-expression)
Next: Number & Text Functions →