You need to sign in to do that
Don't have an account?

Dereference an Object from trigger
I want to delete the Error_Log__c in production. However, my "deactivated" trigger still has a handle as follows,
trigger UpdateErrorLog on Error_Log__c (before insert) {...}
Again the above trigger was deactivated thru change set but I cannot delete the Error_Log__C. I submitted a case to Salesforce and directed me to here. How can I dereference Error_Log__c from UpdateErrorLog trigger?
trigger UpdateErrorLog on Error_Log__c (before insert) {...}
Again the above trigger was deactivated thru change set but I cannot delete the Error_Log__C. I submitted a case to Salesforce and directed me to here. How can I dereference Error_Log__c from UpdateErrorLog trigger?
-greg
If you want to stop firing trigger in your org just comment your trigger codes inside this
Thank You
www.nubeselite.com
Developement | Training | Consulting
Please mark this as solution if your problem resolved.
Greetings to you!
Please refer to the below links which might help you further with the above requirement.
https://www.salesforceben.com/way-to-delete-apex-classes-from-production/
https://jayakrishnasfdc.wordpress.com/2018/09/02/how-to-deactivate-delete-apex-class-triggers-in-production/
https://www.greytrix.com/blogs/salesforce/2014/11/29/delete-apex-class-or-trigger-in-salesforce-production-org/
I hope it helps you.
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.
Thanks and Regards,
Khan Anas
Thanks again.