Compare
Description
Compares expressions depending on the operator and if the result is true
Flow execution continues through True
output, otherwise False
output is used.
Properties
Specific
-
A
EXPRESSION (any)
-
Expression on the left side of the comparison.
-
B
EXPRESSION (any)
-
Expression on the right side of the comparison.
It is not used if the operator isNOT
. -
C
EXPRESSION (any)
-
This expression is used only in the case of the
BETWEEN
operator, then it is checked whetherA >= B
andA <= C
. -
Operator
Enum
-
It is possible to use one of the following operators:
=
– A is equal to B, i.e.A == B
<
– A is less than B, i.e.A < B
>
– A is greater than B, i.e.A > B
<=
– A is less or equal to B, i.e.A <= B
>=
– A is greater or equal to B, i.e.A >= B
<>
– A is different then B, i.e.A != B
NOT
– A is not true, i.e.!A
AND
– both A and B are true, i.e.A && B
OR
– either A or B is true, i.e.A || B
XOR
– either A or B is true, but not both,A ^^ B
BETWEEN
– A is between B and C, i.e. A is greater then or equal to B and A is less then or equal to C, i.e.A >= B AND A <= C
General
-
Description
String
-
This is the description of the Action component. Description is displayed below the component in the Project editor/viewer. In the main toolbar, it is possible to hide or display descriptions of all components with one click.
Flow
-
Inputs
Array
-
Additional component inputs that the user can add as desired in order to use them to receive additional data needed when evaluating expressions in properties. Each input is given a name and type. Name is used when referencing an input within an expression. A type is used to project Check to check whether a data line that transmits data of that type is connected to the input or not.
-
Outputs
Array
-
Additional component outputs that the user can add to send data through. Each output is assigned a name and type. An example of using this output is e.g. in the Loop component, where we can put the output name for the
Variable
property instead of e.g. variable name. In that case, the Loop component will not change the content of the variable in each step, but will send the current value through that output. -
Catch error
Boolean
-
If this checkbox is enabled then an
@Error
output will be added to the component and if an error occurs in this component during the execution of the Flow, the Flow will continue through that output. The data that will be passed through that output is the textual description of the error.
Position and size
-
Align and distribute
Any
-
Alignment icons and component distribution. Alignment icons appear when two or more components are selected, and distribution icons appear when three or more components are selected.
Inputs
-
seqin
SEQ | OPTIONAL
-
A standard sequence input.
Outputs
-
seqout
SEQ | OPTIONAL
-
A standard sequence output.
-
True
SEQ | OPTIONAL
-
Output that will be used to continue execution of the Flow if the value of the expression is
true
. -
False
SEQ | OPTIONAL
-
Output that will be used to continue execution of the Flow if the value of the expression is
false
.