Archive Troubleshooting

Understanding common archive errors

System.LimitException: Apex CPU time limit exceeded

CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY msg=CaseTrigger: System.LimitException: Apex CPU time limit exceeded

Your Salesforce has "before delete triggers" configured for the objects you are deleting, and the Apex code is taking too long to run on a record and failing with a System.LimitException error due to a SFDC platform time limit.

The Salesforce platform enforces that Apex code from triggers must run within a short amount of time to prevent excessive resource consumption.

You need to review your triggers and optimize them to perform better. Alternatively you can update the trigger to not run for the GRAX integration user.

See the Apex Developer Guide for full details.