# assignableWorkflowExecutions

Audience: Developer

List assignable workflow executions with pagination support.

List assignable workflow executions with pagination support.
Shorthand for `workflowExecutions(where: {isAssignable: true})`.

> **Deprecated:** Use workflowExecutions(where: {isAssignable: true}) instead. This wrapper will be removed in a future release.

**Served by:** [workflow](https://docs.pyck.cloud/dev/api/services/workflow.md)

## Arguments

| Name | Type | Description |
| --- | --- | --- |
| `where` | [WorkflowExecutionsWhereInput](https://docs.pyck.cloud/dev/api/inputs/workflowexecutionswhereinput.md) | Filter criteria for workflow executions. |
| `first` | Int | Maximum number of executions to return. Defaults to 100. |
| `after` | String | Pagination cursor from previous response. |
| `orderBy` | [WorkflowExecutionOrder](https://docs.pyck.cloud/dev/api/inputs/workflowexecutionorder.md) | Ordering options for the returned list. |

## Returns

[WorkflowExecutionInfoConnection](https://docs.pyck.cloud/dev/api/types/workflowexecutioninfoconnection.md)!

## Example

Lists workflow executions that can be assigned to users.

```graphql
query GetAssignableWorkflowExecutions($where: WorkflowExecutionsWhereInput, $first: Int, $after: String, $orderBy: WorkflowExecutionOrder) {
  assignableWorkflowExecutions(where: $where, first: $first, after: $after, orderBy: $orderBy) {
    totalCount
    pageInfo {
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }
    edges {
      cursor
      node {
        autoResetPoints
        closeTime
        execution {
          id
          workflowId
        }
        executionDuration
        executionTime
        historyLength
        historySizeBytes
        mostRecentWorkerVersionStamp
        parentExecution {
          id
          workflowId
        }
        parentNamespaceId
        remoteUI {
          mobileURL
          webURL
        }
        rootExecution {
          id
          workflowId
        }
        searchAttributes {
          key
          value
        }
        startTime
        stateTransitionCount
        status
        taskQueue
        type {
          name
        }
      }
    }
  }
}
```

**Variables**

```json
{
  "first": 10
}
```
