Temporal Status icon

Temporal Status

Get workflow status and result

Temporal Status

AI-generated

Overview

This node retrieves the status and result of a Temporal workflow by its Workflow ID. It is useful for monitoring and managing workflows in Temporal, allowing users to check if a workflow has completed and to obtain its result if available. For example, it can be used in automation pipelines to verify workflow completion before proceeding with subsequent steps.

Use Case Examples

  1. Check the status of a Temporal workflow by providing its Workflow ID.
  2. Retrieve the result of a completed Temporal workflow for further processing.

Properties

Name Meaning
Workflow ID The unique identifier of the Temporal workflow whose status and result are to be retrieved.

Output

JSON

  • workflowId - The ID of the workflow queried.
  • status - The current status of the workflow (e.g., COMPLETED).
  • result - The result of the workflow if it has completed; otherwise, an error message or null.

Dependencies

  • Requires an API key credential for Temporal API authentication to create a Temporal client.

Troubleshooting

  • If the workflow ID is incorrect or does not exist, the node may fail to retrieve the status or result.
  • If the workflow status is COMPLETED but the result is not retrievable, the node returns a message indicating this issue.
  • Ensure that the Temporal API credentials are correctly configured and valid to avoid authentication errors.

Discussion