Boolean value

Prev Next

See also: Rule value

Resolver – Abstract

Purpose: Defines a static 'truth value' (true or false) with the Boolean type.

Tooltip

  • Usage: The resolver returns the parameterized static 'truth value' (true or false). The input value is ignored.

  • Parameter: The Boolean return value is defined by checking/unchecking a checkbox that only returns 'No value' ($null) in its initial state.

  • Note: If a Boolean value is not determined statically but by evaluating a condition or 'rule', the Rule value value resolver is helpful.

images/download/attachments/119251472/image2023-1-5_10-34-15-version-1-modificationdate-1672917928969-api-v2.png

â–ºIMPORTANTâ—„ All resolvers for Static values ignore the input value. Within a resolver chain (see Chained resolver) this prevents the processing of all preceding resolvers (if any).

The Boolean value resolver defines a static 'truth value' (true or false) with Boolean type in the context of a value configuration.

It appears by default as a suggestion for value configurations that are expected to have a Boolean value.

A new instance of the Boolean value resolver return false as a default value (see above).

â–ºNOTEâ—„ If a Boolean value is not to be determined statically but by evaluating a condition or 'rule', the Rule value resolver is helpful.

Configuration

images/download/attachments/119251472/image2023-1-5_10-34-15-version-1-modificationdate-1672917928969-api-v22.png â—„ Click â–º images/download/attachments/119251472/image2023-1-5_10-34-28-version-1-modificationdate-1672917928965-api-v2.png

The 'truth value' to return is determined by the Check box element.

Example

In the context of an event handling that affects the Users, the user account present as an input value is to be deactivated.

images/download/attachments/119251472/image2023-1-5_11-44-3-version-1-modificationdate-1672917928927-api-v2.png

As soon as the respective 'Active' (active) field has been selected within the Set value event action shown, the Boolean value resolver is suggested for the right side of the assignment.

For the user account to be disabled in context, the right side of the assignment must be false. The added Boolean value resolver returns this value by default.