Skip to main content
Hi,

I have written the sample trigger on case object. But getting the error is Read Only Error

The code is below

trigger caserecundel on Case (after undelete) {

if( trigger.isundelete){

system.debug('Entering in the undelete*****');

for(case c : trigger.new){

system.debug('Entering in the Loop*****');

c.After_Undelete__c = true;

undelete c;

}

}

}

Any suggestions 

Adv Thnx

VSK
5 件の回答
0/9000