What are a Condition?
In the context of workflow, a”condition” could refer to a specific set of requirements that must be met in order for a task or process to be completed successfully. For example, a digital workflow might include a condition that a certain document must be approved by a manager before it can be sent to the next step in the process.
The input of condition are some data in type of a variable , outcome from a previous step or autofield. The result of a condition can bei either true or false.
Operator
To compare a set of values , you need to specify the operator regarding the character (datatype) of the to be compared values
Operator | Description / Limitation |
== | Compare two Values if there similar like A == A equals true, A == B equals false |
!= | Compare two Values if there not similar like A != B equals true, A != A equals false |
> | Greater than – Compare two numbers (integer or float) if one Number is greater than the other for e.g. 5 > 4 equals true, 6 > 8 equals false |
< | < Less than – Compare two numbers (integer or float) if one Number is less than the other for e.g. 4 < 5 equals true, 6 < 5 equals false |
>= | Greater than or equal to – Compare two numbers (integer or float) if one Number is greater than or equal to the other for e.g. 5 >= 5 equals true, 6 >= 8 equals false |
<= | Less than or equal to – Compare two numbers (integer or float) if one Number is less than or equal to the other for e.g. 5 <= 5 equals true, 6 <= 5 equals false |
And / Or Linking
You can set per condition shape if multiple conditions are linked with And or Or
Link Type | Description |
AND means that every set of condition will be evaluated with the goal that every single comparison equals true, otherwise if only one of them results in false , the complete condition will be set to false f
A == B AND B ==B equals false because the first comparison is false A != B AND B == B equals true because all sets are true and none of them are false. |
|
OR means that at only one of the single comparison has to be true to set the complete condition to true for example
A == B OR B == B equals true, because at least one comparison (B==B) results in true. A != A OR B != B equals false, because both comparison leads to false. |