You need to sign in to do that
Don't have an account?
Rick MacGuigan
Cannot comment out Trigger
OK, I'm confused. I've deactivated this trigger and want to comment it out in the sandbox. Why am I getting:
Error: Compile Error: unexpected token: <EOF> at line 9 column 0
Error: Compile Error: unexpected token: <EOF> at line 9 column 0
/* trigger AuditTrigger on Audit__c (after insert, after update) { //trigger deprecated by Process builder chatter feed . if (trigger.isAfter && (trigger.isInsert || trigger.isUpdate)) { ReportStatusChatterPost.postToChatter(trigger.newMap.keySet(), trigger.isInsert); } } */If I do this , no error. But I really don't want this.
trigger AuditTrigger on Audit__c (after insert, after update) { /* //trigger deprecated by Process builder chatter feed . if (trigger.isAfter && (trigger.isInsert || trigger.isUpdate)) { ReportStatusChatterPost.postToChatter(trigger.newMap.keySet(), trigger.isInsert); } */ }
All Answers
What exactly are you trying to achieve commenting out as you did in 1st way?
https://www.marks4sure.com/Development-Lifecycle-and-Deployment-Designer-exam.html