Decision/For-Each Unit

Decision/For-Each Unit


Overview

The Decision/ForEach Unit is a control-flow component in the Flow Designer that enables conditional execution and iteration within an automation flow. The decision function evaluates defined conditions and routes the flow based on true/false outcomes. The For-Each function goes through every item in a list one by one and runs the set of steps you’ve defined for each item.

How it works
  1. The flow checks a Boolean condition (e.g., if X > 10).
  2. Based on the result:
    1. True path → Executes one branch.
    2. False path → Executes another branch.
Use case
  1. If the customer's age ≥ 18, proceed to payment; otherwise, display an error message.
Visual Representation



    • Related Articles

    • Edit Decision/For-Each Unit

      Edit Decision/For-Each Unit
    • Edit Decision/For-Each Unit

      Overview The Decision/ForEach Unit is a control-flow component in the Automation Flow Designer that enables conditional execution and iteration within an automation flow. The decision function evaluates defined conditions and routes the flow based on ...
    • Database Unit

      Overview A Database Unit in a flow diagram interacts with a database as part of the workflow. It allows the process to perform structured operations such as reading, writing, updating, or deleting data. What it does: Connects to a database system ...
    • Delegate Flow Unit

      Overview A Delegate Flow Unit in a flow diagram is the basic building block that represents a single step or action in a process. It’s the smallest executable element in a workflow, defining what happens at that point in the flow. What it does: ...
    • Edit Subscription Trigger Unit

      Overview Trigger Units are responsible for starting the execution of a flow. They define how and when a flow is triggered. A flow always begins with a Start Unit, and immediately after that comes a Trigger Unit. The following trigger units are ...