Azure/durabletask

how to pause and resume orchestration

Closed this issue · 1 comments

I am attempting to create an orchestration with long running tasks but I need the ability to pause the orchestration until an event is raised to continue the execution of the orchestration at a later time. Is this possible with the framework?

You can try the SuspendInstanceAsync and ResumeInstanceAsync methods in TaskHubClient and see if it fits your use case. You just need the instanceId of the executing orchestration.

You can try this out with samples in https://github.com/kaushiksk/durabletask-samples