Skip to main content
Siva Kumar Valluru (Dell Technologies) 님이 #Apex에 질문했습니다
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