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
RamboRambo 

Repetitive Emails using workflows

Hi All,

 

Is it possible to trigger an email every 1 hr after a case is created with Status = 'New' until its status is modified?.

 

 

Its a bit urgent.

Starz26Starz26

You could manually add interval triggers on the workflow at 1,2,3,4,5,6 etc hours but would have to stop at some point (using the every time a record is created or edited and did not previously meet the criteria). Then when the status changes the time based workflow emails would be removed.

 

Or you could write an hourly batch process to look for all "New" status' and update a checkbox on the record. Then have the workflow fire based off the value of the checkbox == true. Ensure you have the same workflow set the checkbox back to false.

RakeshistomRakeshistom

Just write 1 trigger to fire email.

 

An dwrite 1 apex class where you can schedule this trigger for certain time interval