Creating Your First Workflow¶
Create a small HTTP-invokable workflow and run it end to end.
1. Create Workflow File¶
Create flows/workflows/hello_demo.yaml:
name: hello_demo
group: Demo
invocation:
type: http
http_method: POST
payload_format: xml
example_payloads:
- name: default
payload:
xml: <root/>
steps:
- id: log_input
type: log
message: "Hello from hello_demo"
Schema notes:
- name and group identify the workflow (group organizes in dashboard)
- invocation.type determines trigger method (http, schedule, manual, amqp)
- For HTTP workflows, http_method and payload_format are optional but recommended
- example_payloads and empty payload lists are now allowed for demo workflows
- Each step needs a unique id (not name)
2. Deploy or Reload¶
- Deploy via your normal GitOps/CI flow, or
- Reload orchestrator runtime after local update.
3. Run Workflow¶
curl -X POST http://localhost:8080/v1/run/hello_demo \
-H "Content-Type: application/json" \
-d '{"xml":"<root/>"}'
4. Verify Execution¶
- Check
/v1/tracesvia Gateway. - Confirm workflow appears in
/workflowson Orchestrator.