# workflowAssignee

Audience: Programmer

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

## Arguments

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `input` | [GetWorkflowAssigneeInput](https://docs.pyck.cloud/latest/api/inputs/getworkflowassigneeinput.md)! |  |  |

## Returns

[GetWorkflowAssigneeResponse](https://docs.pyck.cloud/latest/api/types/getworkflowassigneeresponse.md)!

## Example

Returns the current assignee of a workflow execution.

```graphql
query GetWorkflowAssignee($input: GetWorkflowAssigneeInput!) {
  workflowAssignee(input: $input) {
    assignee
  }
}
```

**Variables**

```json
{
  "input": {
    "runID": "<run ID>",
    "workflowID": "<workflow execution ID>"
  }
}
```
