ConstantBoolean

Description

Returns a constant Boolean value (true or false).

Constant values are useful when reference values are needed. 

Use

  • Enter a name for the output field.
  • Mark the checkbox to return true Boolean values.
    or
    Leave the checkbox blank to return false Boolean values.
  • Click OK.

Example

Check if a Boolean Value is True or False

A user wants verify that a Boolean field used in a Flow is true.

The user adds the ConstantBoolean function in the Flow and marks the checkbox to return a true Boolean value for the field.

ConstantBoolean() boxConstantBoolean() returns
<Checkbox marked>true

The user can then use the Equals function to compare the ConstantBoolean field to the original Boolean field they want to compare.

Active userConstantBooleanEquals() returns
truetruetrue

Hero Platform_ Example

An example of this function can be found in Hero Platform_'s library of examples.

Download the example titled "function_ConstantBoolean" to see an example of this function. 

True

False

Type

Creators