Skip to main content

Determine consequences in a workflow

To include conditional logic in your process flow, use a decision task. The decision task embeds a decision table that describes rules for inputs and outputs to follow if the rules are matched. Inputs refer to existing variable data collected earlier in the process. In most cases, they are property names of fields from a form. The outputs are new variables stored as part of the process. For example, if <input_variable> == "A", then <output_variable> == "Active".

Before creating process consequences, you need to create a decision table.

  1. Open the Process modeler view, Decisions tab, and click Create Decision Table.

    • Define a model name, model key, and, optionally, a short description of your model.

    • Take a data variable from the process you want to use as an input variable for the table.

    • Define an output variable and individual rules for the proposed outcome.


    You can define one or many inputs and outputs in the decision table. The rules will translate the input variable value to its matching output pair defined in the decision table.

  2. To use the decision table in the process, go back to the process model and add a decision task.

  3. In the component properties, select the created decision table in the Decision table reference option. The new output variable is now part of the process. You can use it to determine where the process will follow with a gateway task.

  4. Define the flow condition in the arrow pointing to the target task. For example: ${<output_variable> == <some_defined_value>}.