---
schema_version: "1"
id: 7696f27e6b7a920943d731c3c502f999f1eac5c91e8b73cd21e820166ea159d6
title: Clean Data (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_build_tool_clean_data.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_build_tool_clean_data.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 8600c9e8c8b05140f70e0883832b93e53e45a51aeb9af2173c1e5fc9ebb85d2e
description: For the managed package runtime, the Omnistudio Build Tool includes a script to help find and eliminate incorrect data.
products:
  - Omnistudio
release: "264"
---
# Clean Data (Managed Package)

For the managed package runtime, the Omnistudio Build Tool includes a script to help find and eliminate incorrect data.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

Run the script with this command:

```
vlocity -propertyfile <propertyfile> -job <job> cleanOrgData
```

This Node.js script adds global keys to all SObjects that are missing them and deletes a number of stale data records.