I’m wondering if there are any established ways to pause or delay a workflow execution?
I have implemented a query method that has a different response depending on the overall progress of the workflow itself.
I would like to be able to control the progress of the workflow in order to deterministically control what the query method should be expected to return
I’ve been able to implement something like this by mocking an activity response with Thread.sleep, but feel this is a brittle/less than ideal solution.
So I was wondering if there were any better solutions offered by the framework?