workflow-core icon indicating copy to clipboard operation
workflow-core copied to clipboard

Call the same flow multiple times

Open gnsilence opened this issue 3 years ago • 2 comments

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?

gnsilence avatar Feb 24 '22 02:02 gnsilence

image If I put it to sleep for a moment here,There will be no more problems,What could be causing this? A queue

gnsilence avatar Feb 24 '22 04:02 gnsilence

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.

brucezlata avatar Jun 13 '22 02:06 brucezlata