Skip to content
Pyck docs

workflowTargets

Since pyck v0.27.0

Read the current target surfaces of a single workflow execution. Returns an empty list when the workflow has not declared any targets.

Served by: workflow

Name Type Default Description
input GetWorkflowTargetsInput!

GetWorkflowTargetsResponse!

Returns the list of client surfaces a workflow execution targets. The list is empty when the workflow has not declared any targets.

query GetWorkflowTargets($input: GetWorkflowTargetsInput!) {
workflowTargets(input: $input) {
targets
}
}

Variables

{
"input": {
"workflowExecutionId": "<workflow execution ID>",
"workflowId": "<workflow ID>"
}
}