Skip to main content

Condition

The usual logical conditions :

Drag and drop the ConditionComponents from the pallatte

;

;

Configuring Condition

left click on Condition Components, you can define the Condition configration as given below:

;

Case:

Operator:

; ;

CaseDescription
IFUse if to execute a sub flow, if a specified condition is true
ELSEUse else to execute a another sub flow, if the same condition is false
ELSEIFUse else if to execute a another sub flow, if the first condition is false
LOOPUse Loop to iterate over nodes /elements inside sub flow
ANDUse And to execute a subflow if all statements are true
ORUse Or to execute a subflow if one of the statements is true
FieldsDescriptionExample
CaseCondition such as IF,ELSE,ELSEIF,LOOP,AND,ORIF
Condition$Payload
Operator
Value
SubFlow
Action

Example

  1. In this context, a subflow refers to a sequence that runs based on certain conditions or inputs, which is why a decision box is necessary.
  1. In this context, a subflow runs for a loop. As discussed above loop condition is only condition if selected. In loop we give the list we want to loop(For-Each). In this we will have a java list of map objects. Then in subflow each object is sent as input. You can configure the input name by right clicking the subflow and setting the input field. if not configured, the defaul name is subflow_map. This variable scope is subflow only and we can use this object within it.

Flow Containing Loop Condition

Loop Configuration

note

Check subflow configuration of the same in Componenets/Sub-flow section.