FALSE
Use the FALSE function to set the Logical value FALSE.
Use
FALSE
Returns the logical value FALSE.
| Returns | Logical |
Examples
Initializing a Logical Variable
When setting up an approval, you may create Variables to track statuses throughout the workflow. It is best practice to initialize these variables at the Start step to avoid errors in later calculations.
- Scenario: You need a variable named
$PolicyExceptionto track if a request bypasses standard rules. You want it to start as "false" for every new run. - Formula:
FALSE - Logic: Applying this in the Variable Initialization tab ensures that the variable is correctly typed as a Logical value and starts in a "negative" state before any further logic updates it.
Explicit Result in an IF Function
The IF function requires a value to return if a condition is true and another if it is false. You can use the FALSE function to ensure the formula returns a specific logical result for use in subsequent steps.
- Context: A Variable Update Formula applied "After step completes" on a Review Activity.
- Scenario: You want to update a variable
$EligibilityConfirmedbased on the reviewer's output. - Formula:
IF(@ReviewStep.out.Score > 75, TRUE, FALSE) - Logic:
- The formula evaluates the "Score" from the review activity.
- If the score is 75 or lower, the IF function explicitly returns the FALSE value to update the variable.
- This logical result can then be used to control a Conditional Branch later in the flow.