All Collections
Problem analyzers
Action overrides must be present on target
Action overrides must be present on target

A description of the action overrides problem analyzer

Ben Scabbia avatar
Written by Ben Scabbia
Updated over a week ago

This problem analyzer helps resolve issues encountered while trying to deploy Recommendation or EntityMilestone objects that have ActionOverrides

What triggers this problem analyzer?

If your deployment package contains an item that has new or deleted action overrides, you'll see a message in Gearset stating "Some items in the deployment represent new or deleted action overrides. These are created by Salesforce, and they must be present on both the source and target org".

What problem is it solving?

It isn't possible to deploy an existing item that has new or deleted action overrides. Attempting to do this will cause your deployment to fail with a Salesforce error "invalid cross reference ID". 

This problem most commonly arises when you attempt to update an item with an action override that was originally deployed using an older version of the API. A number of Salesforce updates (notably v38 and v45) changed the number of action overrides.

How does it work?

Gearset will identify any action override in your deployment package that seems to have been created or deleted (when compared to the target environment). Gearset will fix the deployment by removing any new action overrides or restoring any removed action overrides.

Did this answer your question?