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:
|
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:
|
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 |