Approval Gate
<Approval> pauses a workflow at an explicit node, waits for a human decision, then continues.
For a simpler inline approval using the needsApproval prop on a <Task>, see workflow-approval.
Workflow Definition
Running
Approving or Denying
Approve and resume:Listing Pending Approvals
How It Works
<Approval>persists a decision object (approved,note,decidedBy,decidedAt) when the workflow resumes. The audit timestamp itself lives in Smithers’ approval records and event log, sodecidedAtremains deterministic in durable outputs.- Re-running after approval replays completed tasks from the database and continues from the approval point.
- Denial is permanent for that run. To retry, start a new run.