Skip to main content
I am trying to remove the Response time Tracker app we were using, but no longer need. When I go to uninstall, it gives me this error

 

How do I push a change to Apex Triggers to production from my sandbox?

 

So i made a fresh sandbox and was able to remove the Apex triggers and also uninstall the managed package on my sandbox, but now I am struggling to get these changes to reflect on an outbound package. 

 

Here is my sandbox triggers:

 

User-added image

 

Here is what my production looks like, even after accepting the inbound changes:

 

User-added image

 

How do I get the changes on my sandbox apex triggers to go to production?
5 respostas
  1. 10 de nov. de 2020, 21:21
    Hi Grant,

     

    Correct me if I am wrong. You have deleted 2 triggers in your sandbox

     

    Case_Tgr_ToCalcResTime

     

    Opportunity_Tgr_ToCalcResTime

     

    If my assumption is correct, you are trying to push destructive changes from changeset which is not possible. Here is an article that will walk you through how to delete apex classes in production.

     

    https://www.salesforceben.com/way-to-delete-apex-classes-from-production/

     

    You just need to change the 

    <name>ApexClass</name>

     

    to

    <name>ApexTrigger</name>

    in your package.xml

     

     
0/9000