This example shows how you can create a YAML file in your repository to define the structure of a workflow. This example runs the sample-workflow.yaml.
Explanation
This folder contains a demo example of a workflow that simply echoes the input message as an output. The workflow file showcases the following features:
Running a simple job with a set of dependent steps
Variable references within step arguments -- each subsequent step in a workflow can call .steps.<step_id>.<field> to access output arguments
How to run
Navigate to this directory and run the following steps:
Make sure you have a Hatchet server running (see the instructions here). After running task seed, grab the tenant ID which is output to the console.
Set your environment variables -- if you're using the bundled Temporal server, this will look like: