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
shawnnshawnn 

Recurring Time-Dependant Auto Response

I'm trying to set up an auto-response rule in object case to send an email to the owner of a case every 2 hours reminding the owner that the case is still open. This email would only be sent if the case is high priority.

 

So far I've got the following (sends email if evaluates to true):

 

ISPICKVAL(Priority, "Level 3 - High") &&

ISPICKVAL(Status, "New") &&

math.mod(getTime(CreatedDate)  -  getTime(now()), 7200000) = 0

 

(note, getTime returns time in milliseconds hence 7200000)

 

I'm rather new to this so any help is appreciated!

Thanks

SurekaSureka

Hi,

 

Why don't you go with Time Dependent workflow rule? Whenever send email evaluates to true, you can send email to the case owner.

 

I am not sure, If this will satisfy your requirement.

 

let me know, If that works.

 

Thanks

shawnnshawnn

Your definitely on the right track because thats similar to what I'm attempting to do. If you go under Customize-->Cases-->Auto-Response Rules its practically the same thing as a workflow rule sending email alerts.

 

My problem is that my code wont compile. I've tried changing various things without success.