
Workflows, before any have been written.
A step
One ES module exportingrun(ctx), executed in its own sandbox. What is on ctx is deliberately small:
Nothing else. A step’s return value is passed to the next step and posted nowhere, so if a run should
report something, it has to say so.
Versions and runs
Publishing takes an immutable snapshot of the steps, and a run records which version it executed. Editing a workflow mid-run cannot change what a recovery replays. Renaming does not mint a version; changed steps do. The run id is the occurrence: the cron slot, the sender’s delivery id, or a fresh id for Run now. That one identity buys both occurrence dedupe and one-live-run-at-a-time, without a second mechanism.Who a run acts as
A workflow step reaches tables and connections as the member who created the workflow, never as the bare organisation. A workflow created in a DM is private to its creator by default; everything else belongs to the team. Admins and owners see both.A workflow that needs a credential it does not have pauses with a reason rather than failing. Fix the
connection and it carries on.