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
Russell Everett 2Russell Everett 2 

Need Assistance Writing Code for A Simple Trigger

Hello - 

I need to write code for a trigger on our contract opportunity. 

It would simply say: 

"At 11:50 pm check the custom checkbox field on the contract level "TRUE"

And then 

"At 12:10 am check the custom checkbox field on the contract level "FALSE"


The custom checkbox field is API name "Trigger_Update__c" 

Is there a more simple way to do this? The checking and unchecking of this box would then show the records to be 'Edited' which then would activate 7 process builders tied to the contract level that need these updates each time. 

PLEASE HELP!!!!