Skip to content

Failing a workflow #698

Answered by ricardozanini
k-jay-c asked this question in Ideas
Oct 21, 2022 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

@k-jay-c please see how the new DSL handles fault tolerance now: https://github.com/serverlessworkflow/specification/blob/main/dsl.md#fault-tolerance

Answering your question, we have an example that raises an error if 500 is returned:
https://github.com/serverlessworkflow/specification/blob/main/examples/raise.yaml

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@k-jay-c
Comment options

@tsurdilo
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by cdavernas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
3 participants