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 --app-id my-app --instance-id my-instance --event-name my-event --data '{"hello": "world"}'

Options

  -a, --app-id string        [Required]: App ID used to orchestrate workflow
-i, --instance-id string [Required]: Instance ID of the workflow
-e, --event-name string [Required]: 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