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
Arguments
Section titled “Arguments”| Name | Type | Default | Description |
|---|---|---|---|
input |
GetWorkflowTargetsInput! |
Returns
Section titled “Returns”Example
Section titled “Example”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>" }}