How do you model compensations and retries for long-running flows in a no-code visual builder?

I’ve been prototyping a multi-day vendor onboarding flow in a no-code visual builder. The visual approach is great for visibility, but modeling compensating actions (the saga pattern) and backoff retries felt awkward. I ended up adding explicit ‘compensation’ branches for key steps and separate timers for exponential backoff, but the builder’s UI made the flow look cluttered.

I’d like cleaner patterns: a way to tag steps as ‘transactional’ with automatic compensation scaffolding, or a compact retry node that expands only when needed.

Has anyone found tidy no-code patterns for compensations, retries, and human approvals that keep the visual model readable?

i tag transactional steps and link them to a reusable compensation subflow. for retries i use a single retry node that references a retry policy object. human approvals are separate nodes with resume tokens.

the trick is to keep compensations in subflows so the canvas stays clean.

i keep compensations in subflows and reuse them. the main diagram stays readable and you still get explicit rollback logic. a shared retry policy helps avoid duplicate nodes.

When I needed clean compensation patterns in a visual builder I created three conventions. First, every step that mutates external state has a linked ‘undo’ subflow. Those undo subflows are stored in a library and referenced rather than drawn inline. Second, retries are handled by a policy object (max attempts, backoff, jitter) that multiple nodes can reference rather than embedding retry loops in each node. Third, human approvals use a single approval gateway that issues a resume token; if the token expires the workflow calls an escalation subflow. These conventions keep the canvas tidy and make compensations explicit without clutter. It also made reviews by non-dev stakeholders much easier because the main flow only shows happy path and key checkpoints.

put undo steps in subflows. use shared retry policy. keep main flow clean.

subflows + retry policy

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.