cadence-java-client icon indicating copy to clipboard operation
cadence-java-client copied to clipboard

Calling Workflow.sleep in Cadence Activity causes activity timeout

Open samarabbas opened this issue 6 years ago • 1 comments

It is not allowed to call Workflow.sleep in activity implementation. We expect activity to failed with reasonable error message rather than timing out.

samarabbas avatar Aug 15 '19 20:08 samarabbas

I want to sleep activity processing for sometime. Should i use Thread.sleep ? or i think define retry logic and throw exception instead ?

mostafacs avatar Oct 24 '20 02:10 mostafacs