How to schedule a task in the future?

I’ve got familiar with the documentation and overall architecture, but it’s not quite clear to me what would be the best practice / production-ready approach of scheduling tasks in the future.

For example, let’s say that an application requires scheduling multiple tasks that need to be run with various delays from 1 hour to 15+ days.

How would you handle this?

You just call Workflow.Sleep before calling an activity.

1 Like