+ Start a Discussion
jha.pk5@cloud.comjha.pk5@cloud.com 

Trigger help urgent

Hi All,

 

I have one custom object Physician . My requirement is that when status is open i can insert new value, but when status is completed we can not insert new value just we can used old value.trigger is fire after update. can anybody help me to write this trigger.

 

 

 

Mayank_JoshiMayank_Joshi

Trigger with events (before insert, update , after insert , update )

 

-- insert records if/ when checkbox value to True .

using Trigger.new from documention 

 

-- Else insert record ; 

 

 

jha.pk5@cloud.comjha.pk5@cloud.com

Thanks for the reply but this is not the exact solution which i want