A trial-expiry workflow sleeps for 14 days between signing up and sending an offer. Nothing should be running during those 14 days.
Sleeping is a scheduled event
When your code calls step.sleep, the run’s state is saved and a wake-up is scheduled. Your process can exit, deploy or scale to zero.
Waking up
At the scheduled time, the runtime calls your code again, restores finished steps from memo, and continues from the line after the sleep.



