# Reassign Tasks by Name

> Perform Reassign Tasks by Name through Brightree.

Source: [https://genhealth.ai/docs/workflows/integrations/brightree/brightree_reassign_tasks_by_name](https://genhealth.ai/docs/workflows/integrations/brightree/brightree_reassign_tasks_by_name)

Integration: [Brightree](https://genhealth.ai/docs/workflows/integrations/brightree.md)

- Handler: `brightree_reassign_tasks_by_name`

- Connection type: `brightree`

## Use in a workflow

Copy this discovered node config, fill params from the input contract, and validate the complete graph. Integration results are available as {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove business success.

```json

{
  "_group": "Brightree",
  "params": {
    "max_tasks": "0",
    "task_type": "0",
    "date_needed_to": "today",
    "date_needed_from": "today"
  },
  "handler": "brightree_reassign_tasks_by_name"
}

```

[Action contracts](https://genhealth.ai/docs/workflows/action-contracts.md) · [Run recovery](https://genhealth.ai/docs/workflows/operations.md)

## Inputs

- `source_assigned_to_name` — Source Assigned To Name (text)
  Optional text value.
- `target_assigned_to_name` — Target Assigned To Name (text)
  Optional text value.
- `task_type` — Task Type (select)
  Optional selected identifier or value.
  Default: `"0"`
  Options: [All] ("0"), CMN Note ("4"), Deposit Note ("14"), Financial Note ("8"), Intake ("16"), Item Maintenance ("1"), PAR Note ("6"), Patient ("2"), Pickup Exchange WIP State ("15"), Practitioner Note ("7"), Progress Note ("13"), Referral ("10"), WIP State ("9")
- `task_status` — Task Status (text)
  Optional text value.
- `date_needed_from` — Date Needed From (date)
  Optional date in YYYY-MM-DD format.
  Default: `"today"`
- `date_needed_to` — Date Needed To (date)
  Optional date in YYYY-MM-DD format.
  Default: `"today"`
- `subject_contains` — Subject Contains (text)
  Optional text value.
- `max_tasks` — Max Tasks (text)
  Optional text value.
  Default: `"0"`

## Outputs

- `found` — Found
- `reassigned` — Reassigned

Output schema completeness: `best_effort_declared`

## Safety

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

## Schemas

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

### Input schema

```json
{
  "type": "object",
  "properties": {
    "max_tasks": {
      "type": "string",
      "default": "0",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "task_type": {
      "enum": [
        "0",
        "4",
        "14",
        "8",
        "16",
        "1",
        "6",
        "2",
        "15",
        "7",
        "13",
        "10",
        "9"
      ],
      "type": "string",
      "default": "0",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "task_status": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "date_needed_to": {
      "type": "string",
      "format": "date",
      "default": "today",
      "description": "Optional date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "date_needed_from": {
      "type": "string",
      "format": "date",
      "default": "today",
      "description": "Optional date in YYYY-MM-DD format.",
      "x-workflow-field-type": "date"
    },
    "subject_contains": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "source_assigned_to_name": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "target_assigned_to_name": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "found": {},
    "reassigned": {}
  },
  "additionalProperties": true
}
```
