Follow instructions at set up a local development environment for Temporal and Go.
temporal server start-dev
The admin ui will be available at http://localhost:8233
This is a fictional worklow that
- waits for an approval
- provisions an instance and gets the instance id
- registers the instance in the CMDB using the instance id from the provisioning activity
temporal workflow start \
--task-queue cloud-operations-queue \
--type ProvisionInstanceWorkflow \
--namespace default \
--workflow-id $(uuidgen)
using the workflow-id from the previous step
temporal workflow signal \
--workflow-id id-from-the-previous-step
--name "approve-request"
using the workflow-id from the previous step
temporal workflow query \
--workflow-id id-from-the-previous-step
--type "current_state"