workflow_status
Creates, updates, deletes, gets or lists a workflow_status resource.
Overview​
| Name | workflow_status |
| Type | Resource |
| Id | railway.storage.workflow_status |
Fields​
The following fields are returned by SELECT queries:
- get
One WorkflowResult row.
| Name | Datatype | Description |
|---|---|---|
error | string | |
status | string | (Complete, Error, NotFound, Running) |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | workflow_id | Gets 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.
| Name | Datatype | Description |
|---|---|---|
workflow_id | string |
SELECT examples​
- get
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
;