Designing workflows
How to run approvals and tasks in parallel
Split a workflow so several reviews run at the same time, then join the branches before the process continues.
Last updated
Use parallel branches when separate people can work at the same time, such as Legal and Finance both reviewing a contract. A Parallel split starts every branch together. A Parallel join waits until all of them arrive.
Build a parallel section
- Add a Parallel split from the palette and connect the previous step to it. It takes exactly one incoming connection.
- Draw at least two connections out of the split, each to the first step of a branch.
- Build each branch with approvals, tasks or other steps.
- Add a Parallel join. Connect the last step of every branch into it. It needs at least two incoming connections.
- Draw one connection from the join to the next step.
- Select Validate, then Simulate.
The Document approval template in the template gallery is a working example: legal and management review run in parallel before sign-off.
What happens when a request runs
- The split starts every branch at once. Each branch's approvals and tasks are created immediately.
- Branches finish in any order. The join waits until the request has arrived by every connection drawn into it.
- When all have arrived, the request continues once, along the join's single outgoing connection.
Each approval or task in a branch keeps its own deadline and fallback, so one slow reviewer does not change the deadlines of the others. In a simulation, branches are listed one after another, followed by a line saying that all branches arrived.
Rejection inside a branch
If an approval in one branch is rejected and has no Rejected connection, the whole request ends as rejected. Open approvals and tasks in the other branches are cancelled. A branch that runs to an End with outcome Rejected does the same.
Avoid the common mistakes
- A branch that skips the join. The join waits for every connection drawn into it, so a branch that ends elsewhere would leave the request waiting.
- A condition inside a branch. If its paths reach the join separately, only one arrives. Bring the paths back together on one step first, so the join receives one connection per branch.
- Unmatched splits and joins. The validator warns when the number of splits and joins differs. Check that every split has its join.
Rules for both steps are in the step types reference. See also conditions and branching and the parallel branches module.