Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

setWorkflowTargets

Replace the target surfaces of a running workflow execution.

Audience: Programmer

Replace the target surfaces of a running workflow execution. Requires the workflow's state to implement the WorkflowTargetsSetter SDK interface. Passing an empty list clears the search attribute so the workflow no longer matches any targets-based filter.

Served by: workflow

Arguments

Name
Type
Default
Description

Returns

SetWorkflowTargetsResponse

Example

Replaces the target client surfaces (WEB, MOBILE, SETUP) of a running workflow execution. Passing an empty list clears the search attribute so the workflow no longer matches any targets-based filter.

mutation SetWorkflowTargets($input: SetWorkflowTargetsInput!) {
  setWorkflowTargets(input: $input) {
    targets
  }
}

Variables

Last updated

Was this helpful?