Skip to main content

workflow_status

Creates, updates, deletes, gets or lists a workflow_status resource.

Overview​

Nameworkflow_status
TypeResource
Idrailway.storage.workflow_status

Fields​

The following fields are returned by SELECT queries:

One WorkflowResult row.

NameDatatypeDescription
errorstring
statusstring (Complete, Error, NotFound, Running)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectworkflow_idGets the status of a workflow. Backed by the Railway GraphQL query workflowStatus.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
workflow_idstring

SELECT examples​

Gets the status of a workflow. Backed by the Railway GraphQL query workflowStatus.

SELECT
error,
status
FROM railway.storage.workflow_status
WHERE workflow_id = '{{ workflow_id }}' -- required
;