Skip to main content

diagrid workflow raise-event

Raise an event to a workflow execution

Description​

Raise an external event to a running workflow execution

diagrid workflow raise-event [flags]

Examples​


# Raise an event to a workflow execution
diagrid workflow raise-event --id my-app --instance-id my-instance --event-name my-event --data '{"hello": "world"}'

Options​

-a, --id string id used to orchestrate workflow
-i, --instance-id string Instance ID of the workflow
-e, --event-name string Event name
-d, --data string Event data (JSON string)
-p, --project string Name of existing project
-o, --output string Output format, supported [table, yaml, json] (default "table")
-h, --help help for raise-event

Options inherited from parent commands​

--api-key string Diagrid Cloud API key

SEE ALSO​