Archive Apex Delete Retirement

What's being done?

GRAX is ending support for Apex deletes during archive jobs. Customers should reach out to GRAX and ensure they are upgraded to the newest version of GRAX archives, which leverages the Salesforce bulk API to conduct the delete operation for an archive.

Why is GRAX retiring support for this feature?

A GRAX archive process has 3 main stages, and each leverages different Salesforce operations to achieve its goal:

  1. First, GRAX leverages asynchronous Apex jobs to query the selected hierarchy and find a list of all IDs across all objects in the chosen hierarchy. These IDs are then sent to the GRAX backend app for backup.
  2. The GRAX backend backup processing system then uses the REST API to back up all of these IDs
  3. Finally, once confirmed everything has backed up, GRAX then deletes all of the data hierarchically from the bottom up. This delete step was previously done by Apex jobs. However, as data volumes grow, Apex jobs aren't the most efficient mechanism to delete data. Instead, GRAX now submits bulk API jobs and can dynamically alert the batch size and concurrency.

How does this impact me?

We encourage any customer using GRAX Archive to reach out to Support to ensure they are upgraded to this latest version. Leveraging the bulk API (instead of Apex jobs) for deletes provides increased visibility and resiliency. GRAX won't support customers who are leveraging the Apex jobs for deletes, as Salesforce makes it much harder to troubleshoot and address when issues come up versus the traditional API.

What's the recommended workaround?

As mentioned, simply reach out to us to confirm your environment is compatible. If not, GRAX engineers can help ensure an upgrade.

🚧

Once you are switched to the latest archive, please create new GRAX archive jobs going forward.

Timing

GRAX support for this feature ends in the Winter of 2021. This may be accelerated if changes are needed to protect the integrity of the GRAX service, or if third parties retire a piece of their service which makes the feature unavailable.

How do I get more information?

If you have questions or need more information, please open a support ticket.