get_workflow
Retrieve complete details of a specific workflow, including status, input, output, and error information, to monitor and debug application execution.
Instructions
Get details of a specific workflow from DBOS Conductor.
Args: application_name (string, required): Name of the DBOS application workflow_id (string, required): ID of the workflow to retrieve
Returns: WorkflowUUID (string): The workflow ID Status (string): PENDING, SUCCESS, ERROR, CANCELLED, ENQUEUED, DELAYED, or MAX_RECOVERY_ATTEMPTS_EXCEEDED WorkflowName (string): The name of the workflow function WorkflowClassName (string, optional): The name of the workflow's class, if any WorkflowConfigName (string, optional): The name with which the workflow's class instance was configured, if any AuthenticatedUser (string, optional): The user who ran the workflow, if specified AssumedRole (string, optional): The role with which the workflow ran, if specified AuthenticatedRoles (string, optional): All roles which the authenticated user could assume (JSON array) Input (string, optional): The workflow input (JSON string) Output (string, optional): The workflow's output, if any (JSON string) Error (string, optional): The error the workflow threw, if any CreatedAt (string): Workflow start time as Unix epoch milliseconds UpdatedAt (string): Last time the workflow status was updated as Unix epoch milliseconds QueueName (string, optional): If this workflow was enqueued, on which queue ApplicationVersion (string): The application version on which this workflow was started ExecutorID (string, optional): The executor to most recently execute this workflow WorkflowTimeoutMS (string, optional): The start-to-close timeout of the workflow in ms WorkflowDeadlineEpochMS (string, optional): The deadline of the workflow, computed by adding its timeout to its start time (epoch ms) DeduplicationID (string, optional): Unique ID for deduplication on a queue Priority (string, optional): Priority of the workflow on the queue (1-2147483647, lower is higher priority) QueuePartitionKey (string, optional): If this workflow is enqueued on a partitioned queue, its partition key ForkedFrom (string, optional): If this workflow was forked from another, that workflow's ID ParentWorkflowID (string, optional): If this is a child workflow, the ID of the parent workflow that started it DequeuedAt (string, optional): When this workflow was dequeued from its queue (Unix epoch milliseconds) WasForkedFrom (bool): Whether this workflow was forked from another workflow DelayUntilEpochMS (string, optional): If this workflow has a delayed start, the epoch ms timestamp until which it is delayed CompletedAt (string, optional): When this workflow completed (Unix epoch milliseconds)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | ||
| application_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||