function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Takashi Koyama 14Takashi Koyama 14 

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?
Greg HGreg H
You need to delete the trigger. One option is to Use Ant
Team NubesEliteTeam NubesElite
Hi Takashi Koyama,
If you want to stop firing trigger in your org just comment your trigger codes inside this
/* your code */

Thank You

Developement | Training | Consulting

Please mark this as solution if your problem resolved.

Khan AnasKhan Anas (Salesforce Developers) 
Hi Takashi,

Greetings to you!

Please refer to the below links which might help you further with the above requirement.

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
Takashi Koyama 14Takashi Koyama 14
Thanks for the links.  However, I've already tried all these that you guys showed me yesterday and none worked.  If you find a way to absolutely dereference a trigger from the object, please let me know.

Thanks again.