# ResourceCloned

Payload returned for the resource-cloned platform event.

> Kind: Apex type · Updated: 2026-07-01

Output payload that Platform Events and the Platform Events Apex Handler methods return for the resource-cloned platform event type. Each instance carries the newly cloned resource, the source resource it was cloned from, and the associated Salesforce record.

## Fields

### Output fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| Resource | <a href="#/apex-type-resource">Resource</a> | optional | New Resource. |
| InputResource | <a href="#/apex-type-resource">Resource</a> | optional | Inputed Resource. |
| RecordId | String | optional | Salesforce Record Id. |
