Running Workflows
Once you have a running worker, you’ll want to run your workflows. Hatchet provides a number of ways of triggering workflow runs, from which you should select the one(s) that best suit(s) your use case.
- Workflows can be run, and have their results waited on
- Workflows can be enqueued without waiting for their results (“fire and forget”).
- Workflows can be run on cron schedules.
- Workflows can be triggered by events.
- Workflows can be scheduled for a later time.
Each of these methods for triggering workflows have their own uses in different scenarios, and the next few sections will give some examples of each.