+ Start a Discussion

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

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


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


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.