get_workflow_events
Retrieve key-value events published by a workflow in DBOS Conductor using application name and workflow ID. Inspect workflow state and progress to debug applications.
Instructions
Get events published by a workflow from DBOS Conductor.
Events are OUTBOUND: a workflow publishes them about its own state or progress via setEvent, and anything holding the workflow ID (another workflow, an HTTP handler, a client) reads them via getEvent. A workflow that never received anything can still have events.
To see messages sent TO a workflow, use get_workflow_notifications instead.
Each event has a string key and a value.
Args: application_name (string, required): Name of the DBOS application workflow_id (string, required): ID of the workflow
Returns: events: Array of event objects, each containing: - key (string): The event key - value (string): The event value, in a human-readable representation count (int): Number of events returned workflow_id (string): The workflow ID queried
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | ||
| application_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||