DocumentationProcess Flow

Process Flow

Document task completion and scheduled reminder delivery.


Use Process Flow to document sequences of business steps, their decisions, and their outcomes. This example includes a user completing a task and a scheduler sending due-date reminders.

Process preview

Process Flow
Choose a taskStart / end
Open the taskProcess step
Already complete?Decision
Already doneStart / end
Mark completeProcess step
tasksData store
Task completedStart / end
Due time reachedStart / end
Find due tasksProcess step
Anything due?Decision
Nothing dueStart / end
Delivery channelMulti-choice
Send pushProcess step
Send emailProcess step
Push / email providerExternal system
remindersData store
Reminder sentStart / end
YesNoNoYesPushEmailRecordSent

At Already complete?, Yes and No on the arrows identify the branches. Each outgoing arrow needs a branch label.

Completing a task

The canvas uses two pools to group its steps: Complete a task and Due-date reminder. Pools can group steps by stage, role, or system.

Complete a task is the person’s path. The use case of the same name links to the start marker Choose a task.

Choose a task → Open the task → Already complete?

  • Yes → Already done. Completing a task that is already done writes nothing.
  • No → Mark complete → tasks → Task completed. Status becomes completed, the completion time is set, and the task leaves the open list.

The data store tasks records a write to the task’s status and completion time. Its Connections panel links to the tasks table in Data Model, where the columns are defined.

Sending reminders

Due-date reminder runs on a schedule. The use case Get a due-date reminder links to the start marker Due time reached.

Due time reached → Find due tasks → Anything due?

  • No → Nothing due. An empty batch ends without calling the provider.
  • Yes → Delivery channel → Push / email provider.

Delivery channel is a multi-choice. Its outcomes are Push and Email. Each has its own outgoing arrow, labeled Push or Email, leading to the matching send step. Both send steps call Push / email provider. Each outgoing arrow must match one of those named outcomes. After the provider succeeds, the flow writes the data store reminders (sent_at, so the reminder is not sent again), then ends at Reminder sent.

Connections on the store reminders lists the Data Model table of the same name. Connections on Push / email provider lists the High-level design component of the same name. These links connect the business process to its data and runtime design.

Node types

Process Flow has six artifact types:

  • Start / end — Choose a task begins a flow. Already done, Task completed, Nothing due, and Reminder sent end one.
  • Process — a step that advances the work: Open the task, Mark complete, Find due tasks, Send push, Send email.
  • Decision — two labeled exits. Already complete? and Anything due?
  • Multi-choice — several named outcomes on the card. Delivery channel.
  • Data store — a read or a write inside the process. tasks and reminders.
  • External system — someone else’s system the process calls. Push / email provider.
Process Flow node types
  • Process stepOpen the taskA step that delivers value or advances the flow.
  • DecisionAlready complete?A yes/no branch with two labeled paths.
  • Multi-choiceDelivery channelA fork with several named outcomes.
  • Data storetasksA store or read of data inside the process.
  • External systemPush / email providerAn external actor the process collaborates with.
  • Start / endChoose a taskProcess start or end marker.

Connection rules

  • A binary decision has two exits, and each arrow carries its branch label. A multi-choice lists its outcomes on the card, and each outgoing arrow is named for one of them.
  • Flow is sequence inside this layer. A link to a use case, a table, or a component is a dependency, and it is not drawn as a process arrow. A start marker can begin a flow and cannot receive one. An end marker can receive a flow and cannot begin one. Cross-layer links from either are allowed — that is how Complete a task points at Choose a task.
  • Removing a pool clears its grouping without deleting the steps.
  • Use this layer for business steps such as checking whether a task is already complete. Document module-level validation, such as rejecting an empty title, in Low-level design.

Next

Continue to Data Model to define the tables used by these processes.