Hi there! I’m working on a temporal workflow with the Java SDK, and I’d like to optionally delay starting execution of the workflow – potentially for a long period of time (on the order of days or weeks). The first thing I found and tried was Workflow.sleep
at the beginning of the workflow implementation, but I wasn’t sure if I should sleep for long periods using that.
Is that the preferred way to delay execution of a workflow, or is there a better method?