Skip to main content
< All Topics

Decision Step

Description

The “Decision” step is used to decide the path which you want to execute based on the logic you write in the decision step configuration.

The decision step can decide up to three paths. When you connect any step with the out ports of a decision step, you need to give a name to its path by clicking on that connection. Minimum two output paths are mandatory for the decision step, out of which one should be the default path.

Properties

  • Decision Logic / Conditions – 
    In order for the decision step to work as intended, you must specify the underlying logic / conditions that specify what path to choose and execute based on the parameters specified for the same.
    The parameters can be the values submitted for the forms / actions performed in the previous steps, and based on this you can specify which workflow path needs to be executed by specifying the path value.
    You can either write the logic in JavaScript in the code editor or define conditions through the condition setter. If the parameter does not satisfy the condition specified, the default path will be executed.
Table of Contents