Zavon

Build a decision tree

Overview

Process owners use the canvas to design workflows with branches and automated steps, and to test them before they go live. On the canvas, a workflow is a tree. Each node is a step, and each connection is a way out of it.

Before you start

You need a Reach role that can manage workflows.

The On the shared engine section shows only when your organisation runs its workflows on the shared workflow engine. Otherwise, Reach shows Workflows stay in Reach with the reason.

A decision tree on the workflow canvas in Reach, with the palette of steps on the left, branches for a review’s outcomes and a tag check, and the selected step’s settings on the right
A decision tree on the canvas, in Reach. Shown with a fictional organisation.

Start a workflow

  1. Open a Reach workflow

    In Reach, select Send › Workflows. Select a workflow’s name. It opens on its decision tree.

  2. Start a new one on the tree

    Select + New workflow. On the Basics step, select Build on the decision tree.

  3. Or use the shared engine

    In the On the shared engine section, type a name under New workflow. Select Create. The canvas opens.

Draw the tree

  1. Add a node

    Select a step in the palette on the left. The canvas adds it below the selected node and connects it.

  2. Drag a node

    Drag a step from the palette onto the canvas. The palette groups the steps by kind, starting with Logic.

  3. Add a step in Reach’s tree

    In Reach’s own tree, select a step. Under Add a step after this one, select the step type. Select Add here on the connection you want.

  4. Add a branch

    In the Logic group, select Decision for several branches. Select Condition for a yes/no branch.

  5. Set each branch

    Select the decision. Under Connections, type a Branch name for each branch. One branch is the Default (used when no other condition matches).

  6. Add a rule

    Open Only when (optional) and select Add a rule. Set the Field, the Test and the Value. Set Match to all of these or any of these.

  7. Connect nodes

    To join two nodes, set Connect to… and select Connect.

  8. Use the list

    Select List to see the same tree with ordinary controls. You can do everything there that you can do on the canvas.

Test it and switch it on

  1. Check for problems

    Select Problems to see anything that stops the workflow from running. Each problem links to its node. Select Check with the server to run the engine’s own checks.

  2. Simulate

    Select Simulate. Fill in a Sample and select Simulate. Select Show its path to highlight the route of that sample. Select Add another sample to compare several.

  3. Save and switch on

    On the shared engine, select Save. Each save is a new version. Select Switch on. New runs start from the workflow’s trigger.

  4. Publish in Reach

    In Reach’s own tree, select Review changes. Select Publish version. The new version goes live.

Troubleshooting

If Create is greyed out, type a name for the workflow.

If Reach shows Workflows stay in Reach, your organisation does not use the shared engine. Build the workflow in Reach’s own editor.

If a step in the palette is greyed out, its note says why. For example, approvals belong to the app whose work is approved.

If Save is greyed out with the note to resolve the errors first, fix the items under Problems.

If Simulate says to fix the graph’s problems first, fix the items under Problems.

If Switch on is greyed out, save your changes first.

Good to know

The toolbar. Undo, Redo, Tidy the layout and Add a note are in the toolbar.

Runs and versions. When you save a new version, runs that already started stay on the version before.

Approvals in workflows: review and approval steps.
Edit a workflow as a tree: Reach’s own tree editor.
Create your first workflow: a workflow step by step in Reach.
Workflows: getting started: where workflows live.