IsTrue
Description
The set expression is evaluated and if it is true
, the Flow execution continues through the Yes
output, otherwise on the No
output. At least one of those two outputs must be connected by a line to an input.
By default, when this action is added to the Flow, a Value
input is added and it is tested whether it is true
or false
. If we want to test another expression, we should delete that input in the Flow section of the property and enter the expression we want.
Properties
Specific
-
Value
EXPRESSION (boolean)
-
Expression whose result is tested.
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.
-
value
DATA(any) | MANDATORY
-
The input through which the Value to be tested is received. This input can be deleted (we delete it in the Flow – Inputs list) if it is not needed, i.e. if you want to test another expression.
Outputs
-
seqout
SEQ | OPTIONAL
-
A standard sequence output.
-
Yes
SEQ | OPTIONAL
-
Output that will be used to continue execution of the Flow if the value of the expression is
true
. -
No
SEQ | OPTIONAL
-
Output that will be used to continue execution of the Flow if the value of the expression is
false
.