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
knightknight 

alerts every 1 hr using apex

I have a requirement where I have date field on teh case object and whenever  date passes the current date , an email has to go every hour to the case owner  till the owner sets the date to a future date or closes the case. Can this done be using triggers ? If yes please suggest how do we do this ?

bob_buzzardbob_buzzard

You may be able to do this (emphasis on the may, as I haven't tried this) is via scheduled apex that is initially scheduled from a trigger.  It would need to be able to unschedule itself, which isn't something I've done I'm afraid. 

knightknight

thanks Bob ..I was able to figure it out