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
rockybalborockybalbo 

Schedule Trigger

Can i  write a sheduled trigger in such way that if the contact are not updating their time sheet after 120mins they have to notifie  with mail
 
harsha__charsha__c

For this to achieve, you may need to run a scheduler class which runs every minute once and checks for the unundated conteacts for last 120 mins and does what you require.

 

 

This may be one of the solutions for this

MarosMaros

Did you try think about workflow? You can try create workflow with Time-Dependent Workflow Actions and function for sending email. You will check last modify date / create date and if it is greater then now, workflow will send email

360venky360venky

Hi Maros,

 

         Thanks for giving reply. I have check workflow with Time-Dependent Workflow Actions but it more complicated,,,,,Because according to Salesforce limitaiton i'm unable to  use the mins/seconds in timed Based workflow.