Skip to content
New to Superprocess? The guided invoice walkthrough takes you from a blank canvas to a running workflow.Get started

Build a decision

Author a decision table — a set of rules that map inputs to outputs — then call it from a process. Decisions live under Build → Decisions and are reusable across processes.

  1. Create the model. Go to Build → Decisions → New Decision Model, give it a name and a key, and open the decision table in the editor.

    A decision table: hit policy First, input columns Over Limit (boolean), Fraud (boolean), Estimated Amount (number), an output column Route (string), and rules using FEEL cells like true, dash, < 1000, and SENIOR
    A decision table — inputs and an output across the top, one rule per row, and the hit policy up top.
  2. Set the hit policy. Choose what happens when several rules match — First, Unique, Any, Collect, or Rule order (see Decisions).

  3. Add input columns. Each input is a condition column with a label and a type — string, number, or boolean (for example Over Limit as boolean, Estimated Amount as number).

  4. Add output columns. The result columns the decision returns (for example Route as string).

  5. Add rules (rows). Fill each input cell with a FEEL condition and each output cell with the result:

    Cell Meaning
    - any — the cell is ignored
    < 1000, >= 25 a comparison
    [18..65] a range
    low, medium a list — matches any of them
    "SENIOR" a literal value (typically an output)

    A row matches when every input cell matches; the hit policy decides what to do when more than one does.

  6. Test it. Use Test to run sample inputs through the table and confirm the outputs.

  7. Deploy. Save, then Deploy the model so processes can invoke it.

Add a Business Rule Task to a process, bind this decision, map the process variables to the table’s inputs, and write the result to an output variable — a downstream gateway can then branch on it.