# Capture Work State

> Perform Capture Work State through MyForms.

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

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

- Handler: `myforms_capture_workstate`

## Inputs

- `order_id` — Order Id (text)
  Optional text value.
- `workflow_number` — Workflow Number (text)
  Optional text value.
- `patient_id` — Patient Id (text)
  Optional text value.
- `patient_state` — Patient State (text)
  Optional text value.
- `account_key` — Account Key (text)
  Optional text value.

## Outputs

No named outputs are declared for this action.

Output schema completeness: `unknown`

## 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": {
    "order_id": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "patient_id": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "account_key": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "patient_state": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "workflow_number": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    }
  },
  "additionalProperties": false
}
```

### Output schema

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