To uninstall the ClosePlan app from a Sandbox or a Production Org, the following are required:

Uninstall ClosePlan:

  1. Go to ClosePlan Admin tab > Environment > Maintenance > click Delete Context Metadata button and Confirm

2. Go to Setup > Historical Trending > object CP Event > disable the checkbox Enable Historical Trending and Save

3. Go to Installed Packages and uninstall ClosePlan app

Troubleshooting:

  1. If Delete Context Metadata button is disabled:

The likely reason is that the Connected App configuration is broken (configuration for ClosePlan Metadata)

To resolve:

If you need assistance, please contact the People.ai support team at support@people.ai

  1. If component type errors appear:

https://help.salesforce.com/s/articleView?id=000386372&type=1