# Search Pending Orders

> Perform Search Pending Orders through ClearPathMD.

Source: [https://genhealth.ai/docs/workflows/integrations/clear-path-md/clearpath_search_pending_orders](https://genhealth.ai/docs/workflows/integrations/clear-path-md/clearpath_search_pending_orders)

Integration: [ClearPathMD](https://genhealth.ai/docs/workflows/integrations/clear-path-md.md)

- Handler: `clearpath_search_pending_orders`

- Connection type: `clearpathmd`

## Inputs

- `page` — Page (number)
  Optional numeric value.
  Default: `1`
- `page_size` — Page Size (number)
  Optional numeric value.
  Default: `50`
- `from_date` — From Date (text)
  Optional text value.
- `to_date` — To Date (text)
  Optional text value.
- `entity_id` — Entity Id (expression)
  Optional literal value or workflow expression.
- `provider_id` — Provider Id (expression)
  Optional literal value or workflow expression.
- `location_id` — Location Id (expression)
  Optional literal value or workflow expression.

## Outputs

- `success` — Success
- `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": {
    "page": {
      "type": "number",
      "default": 1,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "to_date": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "entity_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "from_date": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "page_size": {
      "type": "number",
      "default": 50,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "location_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "provider_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

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