Workflow execution to be scheduled only once from a signal

Hi,

I have below usecase :
My workflow consists of set of activities and signals. In one of the signal implementations, I need to schedule a workflow which I expect it to be executed only once after X no. of days.
I am planning to trigger a child workflow using a cron schedule in this case.
Is this a correct way to handle the same? Please suggest if there is any other elegant way to handle this.

I wouldn’t use the cron schedule. I would put Workflow.sleep at the beginning of the child workflow.

1 Like