Durable Functions
Fail a waiting step
Changed onResumes the workflow step waiting on the token by raising error. The SDKs raise it as CallbackFailedError, carrying its type and message.
The token is the only credential, and takes one outcome, as for succeeding it.
post/durable-callbacks/fail
Request
- Base URLhttps://api.volcano.dev
- Authnone required
Request body
Fail 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.
error, Durable Callback Error required
The error the waiting step raises.
Response
The workflow has the error
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
- warning
changed the pattern of the request property
error/messagefrom^[^\x00]*$to^[^\x00-\x08\x0B-\x1F\x7F]*$
- warning
- info
endpoint added
- info