workflow-core
workflow-core copied to clipboard
Call the same flow multiple times
Describe the bug I have multiple workflow branches, use sqlserver persistent When I call the same flow multiple times, I have no problem with the first one or two But after each or twice, the subsequent process skips all branches and goes straight to completion
What could go wrong?
If I put it to sleep for a moment here,There will be no more problems,What could be causing this? A queue
Are you running in multi-node mode? i.e. Do you have multiple instances of the app running for your app in the cloud? I had the similar issue in https://github.com/danielgerlag/workflow-core/issues/707.
Solved it with distributed lock.