-
Start temporal
cd temporal-setup docker compose up #you can view it on http://localhost:8080/
-
Start worker
cd sample-app
go mod tidy
cd worker
go run worker.go
-
Execute workflows
- Example workflow executions which are successful
tctl workflow start --workflow_type GreetSomeoneInSpanish --taskqueue greeting-tasks --workflow_id my-second-workflow --input '"2"'
- Example executing a workflow with an activity which fails
tctl workflow start --workflow_type GreetSomeoneInSpanish2 --taskqueue greeting-tasks --workflow_id my-second-workflow --input '"2"'
- Example workflow executions which are successful