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
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