How do conditional (branching) workflows work?
Conditional workflows: how a request chooses its route based on its data. Examples with value thresholds and request types, design rules and testing.
Not every request needs to follow the same route. An office supplies order and a new server purchase are both "purchase requests", yet completely different people need to see them. A conditional (branching) workflow lets the request's data or an earlier decision determine the next step.
Two basic forms: skippable steps and real branches
Skippable step: the process is linear, but some steps only run if their condition is met – for example managing director approval only above a set amount. This is the most common and most transparent solution.
Real branch: at one point the process splits into several paths, and the data decides which one it follows. In an IT request, the "software" branch leads to licence purchasing, "hardware" to issuing from stock, and "access rights" to an administrator setting them up.
Typical conditions
- Amount or quantity: an extra approver above a threshold.
- Category or type: the specialist area matching the request type.
- Department: a different manager or approver depending on the requester's team.
- Yes/no question: "Are we ordering from a framework-contract supplier?" – if yes, the request for quotation is skipped.
- Earlier decision: the outcome of an inspection step (pass / fail) determines how to continue.

Design rules
- Unambiguous conditions: a request should never fit two mutually exclusive branches at once, or fall out of all of them. Always have an "other" branch.
- Fewer branches, more fields: if a branch only differs in the approver, a single step whose owner comes from a field is often simpler.
- Documentation: write in the step description why and when it runs – you will thank yourself in six months.
- Transparency for participants: the requester should see why the case follows this route.
Testing: every branch must be tried
A branching process fails where nobody tried it. Before going live, run a test request through every branch, including edge values: an amount exactly at the threshold, an empty optional field, a rare category. If the system supports it, do this in a test run without polluting live data.
How it works in StepHub
- Run condition per step: based on a field value (equals, greater than, range, contains, empty, etc.) or the requester's team; several conditions combined with "and".
- Branch step: several outputs with conditions and a default branch.
- Transparent history: for a skipped step, the request history shows which condition was not met and with what value.
- Process diagram: steps and branches can be reviewed visually.
- Test run: the process can be played through with test data before publishing, without a live request.