Numeric condition

The Numeric Condition component compares numeric attributes with comparison values (number 1/number 2).

The numeric condition compares the values of the attributes on one or more objects with the values of the numeric condition. The numeric condition does not evaluate incoming numbers.

Configuration:

Property

Description

Logic operation (objects)

If the condition is executed on multiple objects, you can use the Logical operation(Objects) property to determine how the results of the condition (true or false) are linked and evaluated:

  • OR: Condition is true if one of the results or all results are true.

  • AND: Condition is true if all results are true.

  • Exclusive OR: Condition is true if one of the results is true and the rest are false.

Queries

You can create a query here which determines the objects for which the condition is evaluated.

If the condition is to be executed on objects that are referenced in another object, you can create a query here that determines the corresponding objects.

Logic operation (attributes)

Select here the logical operation of the attributes for the evaluation of the condition:

  • OR: The condition is true if one of the attributes or all attributes have the value set or not set, depending on whether the property Value set is enabled or disabled.

  • AND: The condition is true if all attributes have the value set or not set, depending on whether the property Value set is enabled or disabled.

  • Exclusive OR: The condition is true if any of the attributes have the value set or not set, depending on whether the property Value set is enabled or disabled, and all other attributes have the opposite.

Attributes

Reference here the attributes (integer, float number) to be checked.

Number / Number 2

Enter the comparison values for the attribute value here, which have different meanings depending on the comparison operator (comparator).

Comparator

Select here the comparison operator for the numbers defined in the Number and Number 2 properties and the attribute value of the attribute you referenced under the Attributes property.

Include boundary values

If the option is activated, the limit values, i. e. Number 1 and number 2, are included in the comparison as possible results.

(This option is only relevant for certain comparison operators).

Variables

You can activate the enabled attributes of a query and condition in the Variables property so that they can be changed by users at the time of execution.

See also: Chapter Variables.

Comparison operators for the numeric condition:

Comparator Description Example
< less than less than number 1 (optional: include boundary value) Number 1 = 500 personnel numbers exist from 1 to 1320 Num. Condition: Personnel number < 500: -> 1 to 499 or 1 to 500 (if the boundary value 500 is included)
> greater than greater than number 1 (optional: include boundary value) Number 1 = 500 personnel numbers exist from 1 to 1320 Num. Condition: Personnel number > 500 -> 501 to 1320 or 500 to 1320 (if the boundary value 500 is included)
< between > < / between > between number 1 and number 2 (optional: include boundary value) Number 1 = 300 , number 2 = 500 Personnel numbers exist from 1 to 1320 Condition: personnel number between 300 and 500 -> 301 to 499 or 300 to 500 (if the boundary values 300 and 500 are included).
!= unequal unequal i.e. not equal to number 1 (sign for unequal is !=) Number 1 != 0 Personnel numbers exist from 1 to 1320 Num. Condition: Personnel number is not equal to 0 -> 1 to 1320