Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Initial scoping for happy/non-happy path and other such control mechanisms - beware of the rabbit hole #8

frankkilcommins started this conversation in Ideas
Discussion options

What is the general feeling for how deep we want to go with respect to handling error scenarios/conditions in the workflows? I somewhat weary in us trying to deliver a BPM type sledge hammer approach to describing the expected value flows of an API.

Nevertheless, there should be some discussion and consensus on how far workflows will go.

Some options to start discussion:

  • Indicate workflow will stop upon error (e.g. managed/expected failure) and can be picked up from point of failure
  • Indicate entire workflow will be retried
  • Indicate the workflow (or transaction) will be rolled back upon failure
You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

Why the specific use case such as an error path? Why not behaviors required such as the need for a workflow to self abort, to be stopped (canceled), to be paused and resumed, and to be rolled back. On the latter I'd prefer a recovery workflow defined. "roll back" implies status kept somewhere and a commit ,,, please not that again. Do we set as a prerequisite workflows like the APIs they support be stateless. Anyway, the point being to consider defining behaviors needed to meet needs such as error paths but many others.

You must be logged in to vote
1 reply
Comment options

frankkilcommins Feb 2, 2022
Maintainer Author

Agree that the scoping discussion is broader than just error paths. I've updated the discussion title to hopefully reflect that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /