workflowIsAssignable
Returns whether the given workflow execution is currently assignable.
Reads the pyck_workflow_is_assignable Temporal search attribute on the
execution. Workflows that never wrote the attribute are treated as
assignable (returns true) — matching the SDK’s default behaviour for
workflows that didn’t opt in via workflowsdk.WorkflowIsAssignableSetter.
Served by: workflow
Arguments
Section titled “Arguments”| Name | Type |
|---|---|
input |
GetWorkflowIsAssignableInput! |
Returns
Section titled “Returns”GetWorkflowIsAssignableResponse!
Example
Section titled “Example”Returns whether a given workflow execution currently advertises itself as assignable via the pyck_workflow_is_assignable search attribute. Workflows that never wrote the attribute are treated as assignable (returns true).
query GetWorkflowIsAssignable($input: GetWorkflowIsAssignableInput!) { workflowIsAssignable(input: $input) { isAssignable }}Variables
{ "input": { "workflowExecutionID": "<run ID>", "workflowID": "<workflow execution ID>" }}