nodeWorkflow
Since pyck v0.27.0
Fetches an object given its ID.
Served by: workflow
Arguments
Section titled “Arguments”| Name | Type | Default | Description |
|---|---|---|---|
id |
ID! | ID of the object. |
Returns
Section titled “Returns”Example
Section titled “Example”Fetches one workflow by its global ID. The inline fragment selects the Workflow fields; the lookup returns null when no object has that ID.
query GetNodeWorkflow($id: ID!) { nodeWorkflow(id: $id) { id ... on Workflow { tenantID name taskQueue createdAt } }}Variables
{ "id": "<workflow ID>"}