---
category: [Administration & Integrations, Administration & Integrations/Custom Integrations & Apps, Platform and Product Extensions, Platform and Product Extensions/Workday Extend, Platform and Product Extensions/Integration]
keyword: [Extend, Model Components, Extend Business Objects, MCBO, Model Component Business Objects, Business Objects, Model BO, Attachment Objects]
nav: wcp_docs
parent_url: /wcp_docs/
title: Create a Custom Report for Purging Data
layout: subsection
---

### Prerequisites

<a id="prereq_N10021_N1001E_N10001"></a>
Security: These domains in the System functional area:

-   <i>Custom Report Creation</i>
-   <i>Manage: All Custom Reports</i>
-   <i>Report Tag Management</i>


### Context

<a id="context_N1003E_N1001E_N10001"></a>
You can identify data you want to purge using an advanced custom report.

<b>Note:</b> You must have unconstrained access to all secured items on the report.

### Steps

1.  <a id="step_N1004C_N10049_N1001E_N10001"></a>Access the <b>Create Custom Report</b> task.
2.  <a id="step_N1007D_N1006C_N1003C_N10001"></a>As you complete the task, consider:

<table><thead><tr><th>    Option</th><th>    Description</th></tr></thead><tbody><tr><td><b>Report Type</b></td><td>Select <i>Advanced</i>.</td></tr><tr><td><b>Optimized for Performance</b></td><td>Clear the check box.</td></tr><tr><td><b>Data Source</b></td><td>Select a report data source based on the Workday Extend business object you want to purge. Example: <i>All Charities</i>.</td></tr><tr><td><b>Report Tags</b></td><td>Select <i>Purge</i>.</td></tr></tbody></table><br/>

3.  <a id="step_N100A3_N10049_N1001E_N10001"></a>As you complete the <b>Columns</b> tab, include at least 1 field in the report to identify the instances for which you want to purge data. Example: The <i>Relationship Manager</i> field on the <i>Charity</i> business object.
4.  <a id="step_N100D8_N10049_N1001E_N10001"></a>(Optional) To create a filter to identify the instances for which you want to purge data, complete the <b>Filter on Instances</b> section on the <b>Filter</b> tab.

    <b>Note:</b> You must add logic to explicitly exclude purged rows from report filters or counts in WQL queries.

5.  <a id="step_N10105_N10049_N1001E_N10001"></a>On the <b>Prompts</b> tab, remove any prompts that require user input when it runs.


### Next Steps

<a id="postreq_N10134_N1001E_N10001"></a>
Run the report to verify that it includes only the data you want to purge.

