# Prepare Superseded Source Cleanup

> Perform Prepare Superseded Source Cleanup through MyForms.

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

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

- Handler: `intake_prepare_superseded_source_cleanup`

## Inputs

- `case_payload` — Case Payload (json, required)
  Required JSON value.
- `order_change_match_context` — Order Change Match Context (json, required)
  Required JSON value.
- `source_cleanup_context` — Source Cleanup Context (json, required)
  Required JSON value.

## Outputs

- `success` — Success
- `delete_request` — Delete Request
- `superseded_source_cleanup_context` — Superseded Source Cleanup Context
- `execution_summary` — Execution Summary
- `side_effect_ledger` — Side Effect Ledger
- `manual_review_required` — Manual Review Required
- `error` — Error
- `failure_category` — Failure Category

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": [
    "case_payload",
    "order_change_match_context",
    "source_cleanup_context"
  ],
  "properties": {
    "case_payload": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "source_cleanup_context": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "order_change_match_context": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "success": {},
    "delete_request": {},
    "failure_category": {},
    "execution_summary": {},
    "side_effect_ledger": {},
    "manual_review_required": {},
    "superseded_source_cleanup_context": {}
  },
  "additionalProperties": true
}
```
