Skip to content
Pyck docs

workflowIsAssignable

Since pyck v0.27.0

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

Name Type Default Description
input GetWorkflowIsAssignableInput!

GetWorkflowIsAssignableResponse!

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>"
}
}