executeWorkflow
Topics: Workflows
Start a new workflow execution. Requires workflow:execute permission.
Examples
Run Prepress Workflow
mutation RunPrepressWorkflow($input: ExecuteWorkflowInput!) {
executeWorkflow(input: $input) {
execution { id workflowId versionId status }
errors { path message }
}
}Variables
{
"input": {
"workflowId": "wfl_000000a48h848r248h248h248h",
"input": "{\"fileId\":\"fil_000000248h848r248h248h248h\",\"componentId\":\"cmp_000000448h848r248h248h248h\"}"
}
}Exact field SDL
"""Start a new workflow execution. Requires workflow:execute permission."""
executeWorkflow(
"""Execution parameters"""
input: ExecuteWorkflowInput!
): ExecuteWorkflowPayload! @topic(names: ["workflows"]) @topic_example(names: ["prepress.run-workflow"])Declared on Mutation. Access is checked by the platform for each operation.