Decommissioning Advanced Reporting and Statistics in Salesforce

If you are leaving Vonage and no longer need to use Advanced Reporting and Statistics, you should consider whether to keep your agent and call summary data or delete it from Salesforce.

Historic data

Scheduled jobs in the Advanced Reporting and Statistics in Salesforce package make API requests to Vonage APIs every 15 minutes. The jobs fetch interaction and agent statistics and save the data in summary records in Salesforce. The jobs also delete summary records whose created date is older than the configured retention period. For information about the statistics retention period, see the Global Settings and Mappings section in Configuring Advanced Reporting and Statistics.

To find out how much data storage your Vonage Call and Vonage Agent Summary records use, go to System Overview in Salesforce Setup. Click the DATA STORAGE number to see the amount of storage broken down by record type. You can also see the number of records there are of each record type and the percentage of the total storage used by those types. Call summary records typically consume far more than agent summary records because there are usually many calls each day for each agent.

Knowing the amount of data you have will help you choose what to do with your agent and call summary records.

Choose from one of the following actions depending on whether you would like to keep your data:

  • Keep the data in Salesforce as is. This approach requires keeping the relevant Vonage managed package or packages installed in Salesforce.

  • Export data outside of your Salesforce org. Exporting the data means you can uninstall the package without losing your data. For information about uninstalling the package, see the Uninstalling the package section later in this page.
  • Move data to other objects in Salesforce. Migrating data to other objects means you can uninstall the package as the objects in the package are no longer required. For information about uninstalling the package, see the Uninstalling the package section later in this page.

    Data protection

    If you choose to keep the data, you are responsible for deleting it as required by applicable data protection rules, such as GDPR.

  • Uninstall the package without exporting or migrating the data first. If you no longer require the data, you do not need to export or migrate it. For information about uninstalling the package, see the Uninstalling the package section later in this page.

Uninstalling the package

Uninstalling the package will delete all data stored in custom objects and fields in the package. If you want to uninstall the package, but still keep the data, make sure you've already exported or migrated the data. You can export the data outside of Salesforce or migrate it into Salesforce objects that aren't in the package. Salesforce and partners provide options for exporting and migrating data. For information about exporting and migrating data, refer to Salesforce documentation.

Custom components

If you have created any custom objects or components — such as page layouts, permission sets, custom fields, and flows — that depend on the package, Salesforce will not uninstall the package. You must manually remove the custom objects and components or remove the references to the package before uninstalling.

Deleted data

When you uninstall the package, Salesforce will ask if you want to save and export a copy of the package’s data first. When you confirm you want to uninstall, data associated with the package is or isn't exported depending on your choice. The data is then deleted permanently from Salesforce. Deleting the data typically frees up a lot of space in your Salesforce org.

When data has been deleted, it cannot be restored. If you are leaving Vonage, there is no way to get the data back because your data will be deleted from Vonage systems too.

For information about uninstalling a managed package, including additional things to consider when uninstalling, see Uninstall a Managed Package (Salesforce help).

Deactivating the package

If you choose to keep your call and agent summary records in Salesforce as they are, you must keep the Advanced Reporting and Statistics package installed. You must, however, deactivate the package by deleting the scheduled jobs. Otherwise the jobs will continue to run every 15 minutes. Removing these jobs prevents them from deleting existing call and agent summary records (the jobs delete the summary records whose created date is older than the configured retention period). Removing the jobs will also avoid error logs being created when the package can no longer fetch data from your closed account.

To deactivate the jobs, perform the following steps:

  1. Go to Scheduled Jobs in Salesforce Setup.
  2. Delete the jobs named ScheduledWatchdog, ScheduledWatchdog 0, ScheduledWatchdog 15, ScheduledWatchdog 45. These jobs were created when you installed or upgraded the package.

When you have deleted the jobs, check that you do not see any new transaction logs.

Support and documentation feedback

For general assistance, please contact Customer Support.

For help using this documentation, please send an email to docs_feedback@vonage.com. We're happy to hear from you. Your contribution helps everyone at Vonage! Please include the name of the page in your email.