# Complete Order Tasks

> Perform Complete Order Tasks through MyForms.

Source: [https://genhealth.ai/docs/workflows/integrations/my-forms/myforms_complete_order_tasks](https://genhealth.ai/docs/workflows/integrations/my-forms/myforms_complete_order_tasks)

Integration: [MyForms](https://genhealth.ai/docs/workflows/integrations/my-forms.md)

- Handler: `myforms_complete_order_tasks`

## Inputs

- `workflow_id` — Workflow Id (text, required)
  Required text value.
- `task_names` — Task Names (json)
  Optional JSON value.
- `status` — Status (text)
  Optional text value.
  Default: `"Completed"`
- `timeout_seconds` — Timeout Seconds (number)
  Optional numeric value.
  Default: `180`

## Outputs

- `success` — Success
- `completed_tasks` — Completed Tasks
- `completed_count` — Completed Count
- `error_message` — Error Message

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",
  "required": [
    "workflow_id"
  ],
  "properties": {
    "status": {
      "type": "string",
      "default": "Completed",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "task_names": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "workflow_id": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "timeout_seconds": {
      "type": "number",
      "default": 180,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "success": {},
    "error_message": {},
    "completed_count": {},
    "completed_tasks": {}
  },
  "additionalProperties": true
}
```
