Learn how to implement human approval flows in your Inferable applications
notification
input defined here is the same as what is passed to ctx.notify()
.Interrupt.approval()
function to pause a workflow and wait for human approval.
[email protected]
Interrupt.approval()
is returned from a Workflow:
paused
.
context.approved
is true
, the handler will continue without entering the return Interrupt.approval()
block.