# Update Task

> Perform Update Task through NikoHealth.

Source: [https://genhealth.ai/docs/workflows/integrations/nikohealth/nikohealth_update_task](https://genhealth.ai/docs/workflows/integrations/nikohealth/nikohealth_update_task)

Integration: [NikoHealth](https://genhealth.ai/docs/workflows/integrations/nikohealth.md)

- Handler: `nikohealth_update_task`

- Connection type: `nikohealth`

## Inputs

- `task_id` — Task Id (expression, required)
  Required literal value or workflow expression.
- `title` — Title (expression)
  Optional literal value or workflow expression.
- `description` — Description (textarea)
  Optional text value.
- `clear_description` — Clear Description (boolean)
  Optional true-or-false value.
  Default: `false`
- `due_date` — Due Date (expression)
  Optional literal value or workflow expression.
- `clear_due_date` — Clear Due Date (boolean)
  Optional true-or-false value.
  Default: `false`
- `category_id` — Category Id (expression)
  Optional literal value or workflow expression.
- `priority` — Priority (select)
  Optional selected identifier or value.
  Options: Low ("Low"), Normal ("Normal"), High ("High")
- `assign_to` — Assign To (json)
  Optional JSON value.
- `patients` — Patients (json)
  Optional JSON value.
- `patient_documents` — Patient Documents (json)
  Optional JSON value.
- `dry_run` — Dry Run (boolean)
  Optional true-or-false value.
  Default: `false`
- `verify` — Verify (boolean)
  Optional true-or-false value.
  Default: `true`

## Outputs

- `success` — Success
- `updated` — Updated
- `task_id` — Task Id
- `changed_fields` — Changed Fields
- `verified` — Verified
- `dry_run` — Dry Run
- `message` — Message
- `error` — Error
- `error_type` — Error Type

Output schema completeness: `best_effort_declared`

## Safety

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

## Schemas

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

### Input schema

```json
{
  "type": "object",
  "required": [
    "task_id"
  ],
  "properties": {
    "title": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "verify": {
      "type": "boolean",
      "default": true,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "dry_run": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "task_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "due_date": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "patients": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "priority": {
      "enum": [
        "Low",
        "Normal",
        "High"
      ],
      "type": "string",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "assign_to": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "category_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "description": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "textarea"
    },
    "clear_due_date": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "clear_description": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "patient_documents": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "dry_run": {},
    "message": {},
    "success": {},
    "task_id": {},
    "updated": {},
    "verified": {},
    "error_type": {},
    "changed_fields": {}
  },
  "additionalProperties": true
}
```
