getWorkflow
Topics: Workflows
Fetch a single workflow by ID. Requires workflow:read permission.
Examples
Read Prepress Workflow
query ReadPrepressWorkflow($id: WorkflowID!) {
getWorkflow(id: $id) {
id name description isActive currentVersionId
}
}Variables
{
"id": "wfl_000000a48h848r248h248h248h"
}Exact field SDL
"""Fetch a single workflow by ID. Requires workflow:read permission."""
getWorkflow(
"""Workflow ID to fetch"""
id: WorkflowID!
): WorkflowState @topic(names: ["workflows"]) @topic_example(names: ["prepress.read-workflow"])Declared on Query. Access is checked by the platform for each operation.