Workflow scheduling strategies go-SDK
I have a scheduling workflow its task is to wait until a scheduled time before running activities
The question I have is:
After I have started workflow and it’s in a sleep state or waiting on a timer, is there any way to extend the scheduled time for this workflow by sending a new scheduled time using signals?
At this stage of my research, I think my only options for changing a scheduled time in a workflow are
- cancel existing workflow and create another one with the new schedule
- create a loop which sleeps some increment example per minute, on waking check some schedule value via activity to decide if need to continue to sleep
is there a better way to do this?