# Get Tasks

> Perform Get Tasks through Bonafide.

Source: [https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_get_tasks](https://genhealth.ai/docs/workflows/integrations/bonafide/bonafide_get_tasks)

Integration: [Bonafide](https://genhealth.ai/docs/workflows/integrations/bonafide.md)

- Handler: `bonafide_get_tasks`

- Connection type: `bonafide`

## Inputs

- `employee_ids` — Employee Ids (text)
  Optional text value.
- `closing_status` — Closing Status (select)
  Optional selected identifier or value.
  Default: `"O"`
  Options: Open ("O"), Closed ("C"), All ("")
- `category_id` — Category Id (text)
  Optional text value.
  Default: `"-1"`
- `outcome_id` — Outcome Id (text)
  Optional text value.
  Default: `"-1"`

## Outputs

- `success` — Success
- `tasks` — Tasks
- `total_count` — Total Count
- `employee_ids` — Employee Ids
- `message` — Message
- `error_message` — Error Message
- `error` — Error

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `read`
- Confirmation recommended: no
- Retry safe: yes
- Dry run supported: no

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "outcome_id": {
      "type": "string",
      "default": "-1",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "category_id": {
      "type": "string",
      "default": "-1",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "employee_ids": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "closing_status": {
      "enum": [
        "O",
        "C",
        ""
      ],
      "type": "string",
      "default": "O",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "tasks": {},
    "message": {},
    "success": {},
    "total_count": {},
    "employee_ids": {},
    "error_message": {}
  },
  "additionalProperties": true
}
```
