-
Hi, Is there a way to achieve a singleton behavior for sub-orchestrations? |
Beta Was this translation helpful? Give feedback.
Answered by
ltouro
May 17, 2023
Replies: 1 comment 4 replies
-
Yes. Use a constant workflow ID. Only one will be ever executing with that ID. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you want to use this API, this should definitely be in an activity. You can plug the Client in the DI and pull it up in any activity class.
For tracking inside the orchestration, you should use the task that you are given when you start it, e.g. for blocking/unblocking the orchestration execution