Skip to main content

TRUE

Use the TRUE function to set the Logical value TRUE.

Use

TRUE
Returns the logical value TRUE.


ReturnsLogical

Examples

Initializing a Variable

You can use the TRUE function in a Variable Initialization formula at the Start step to set a default "on" state for a logical variable.

  • Scenario: You are building a complex procurement workflow. You want to create a variable called $RequiresReview that defaults to "True" to ensure no request accidentally bypasses human oversight unless specific automated conditions are met later in the flow.
  • Formula: TRUE
  • Logic: By placing this in the Initial tab of the variable settings, the workflow starts with the variable set to the Logical TRUE state.
  • Result: Until a Variable Update step explicitly changes this to FALSE, any subsequent Conditional Branch checking this variable will follow the "TRUE" path.

Pro Tip: It is important to remember that in Validation Formulas, the system assumes a field is valid if the formula returns TRUE. If you do not include a validation formula at all, GoApprove treats the field as if the formula were implicitly set to TRUE, meaning it is always valid.