Replies: 1 comment
-
|
This is a great question. Workflow state is technical state (running, completed, failed, etc). It exists to answer questions like “did the orchestration execute successfully?”, not “what was the business outcome?”. Because of that, you should not rely on workflow status to determine business meaning. Instead, capture business state explicitly as part of the workflow execution (e.g. updating domain/read models at meaningful milestones), and expose that state via queries designed for reporting. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am thinking that workflow is a great tool to encapsulate a long running process. I see that Waterline allows for techniocal monitoring, like who has failed and has running. I am looking for a way to embed workflows into business processes, like watching where this workflow is at right now (maybe inspecting the state).
Is there any APIs in this direction or clues where I should be looking at?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions