Penstock

Guide / Check your work

Trace paths

Select a step and the editor shows every path that runs through it, what leads there and what leads on from there, with the rest of the diagram dimmed.

Free

What it is

In a large diagram the question is often "how does the process get here?" or "what can happen after this?". Trace paths answers it on the canvas. It follows the flows backwards from the step you chose to every start, and forwards to every end, and dims everything that is on neither side.

It reads only the diagram. Nothing is sent to an engine and no token moves, so it is not Token simulation. It also looks at every path the drawing allows, not the paths your data takes, which is what Flow analysis reports on.

Trace a step

  1. Select a task, a gateway or an event.
  2. Press the trace icon on the pad beside the element, or choose Trace paths in the More menu, under View.
  3. The paths that lead to the step and the paths that lead on from it stay in full colour. The rest of the diagram is dimmed.
  4. Read the small card over the canvas. It names what is traced and counts the steps on each side, for example Tracing Approve order - 3 before, 5 after.
  5. To end it, press Esc, click on the empty canvas, press the close button on the card, or run the action again.

The action is off until something that can be traced is selected. Its tooltip then says Select a task, a gateway or an event to trace the paths that run through it.

The task Validate order selected in the order-to-cash diagram. The path before it is blue and the path after it is green, and the other tasks are grey. A card at the bottom reads Tracing Validate order - 2 before, 5 after, with a close button and an unticked box, Follow message flows
A traced step. The paths through it keep their colour, the rest is dimmed, and the card counts the steps on each side.

How boundary events and event sub-processes read

Follow message flows

In a diagram with more than one pool the card has a checkbox, Follow message flows. Tick it and the trace follows the message flows across the pools. Without it the trace does not cross them.

The user task Approve order selected in a diagram with two pools. The card reads Tracing Approve order - 3 before, 7 after, with Follow message flows ticked. The path crosses the message flow into the pool Customer, which is coloured in part, and the rest is grey
Follow message flows ticked: the trace crosses into the other pool.
The user task Review credit hold selected, with a timer boundary event named Escalation timer on its edge. The path before it is blue and the paths after it, including the one from the boundary event, are green. The card reads Tracing
Tracing a task that has a boundary event. The path that leaves through Escalation timer is in colour with the rest.

In a decision

The decision editor has the same action. In the requirements diagram, select a decision and run Trace paths. It shows every decision and input the selected decision needs, and everything that depends on it. Its tooltip, with nothing selected, says Select a decision in the requirements diagram to trace what it needs. See The DMN editor.

The requirements diagram with the decision Order handling selected. The card reads Tracing
A decision traced in the requirements diagram: what it needs in blue and what depends on it in green.

What it does not change

A trace exists on the canvas only. It adds nothing to the undo history, nothing to the file, and nothing to an export or a shared page.

What you see

Common problems

Trace paths is greyed out.
Nothing traceable is selected. Select a task, a gateway or an event first.
The other pool is dimmed.
Tick Follow message flows in the card to cross the message flows between pools.
I want the paths a real run took.
Trace paths shows what the drawing allows. For what a run did, use Scenarios or Monitor.