Durable Functions
Complete a waiting step with a result
Changed onResumes the workflow step waiting on the token with result. Call it from the system the workflow handed the token to.
The token is the only credential. A token takes one outcome: once it has succeeded or failed, every later request is refused with 409 callback_completed, including a retry of the request that succeeded it.
post/durable-callbacks/succeed
Request
- Base URLhttps://api.volcano.dev
- Authnone required
Request body
Succeed Durable Callback Request required
token, string required
The vcb_ token the workflow handed out. It is the only credential the callback operations take, so treat it as a secret.
result, unknown required
Response
The workflow has the result
Durable Callback Outcome required
status, 'waiting' | 'delivering' | 'succeeded' | 'failed' required
waiting until the token is succeeded or failed. delivering while the outcome is on its way to the workflow; Volcano finishes the delivery on its own. succeeded or failed once the workflow has the outcome.
Changes
- info
endpoint added
- info