Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Resend approval email if it has not been approved after 24 hours

bradschamerloh
Kilo Expert

I need to re-send an approval email if it has not been approved/rejected after 24 hours.

I have an approval notification that is sent when a record is inserted or updated.   The notification is NOT triggered by an event.   The problem is, I cannot figure out how to re-send the SAME email 24 hours if state=requested on the sysapproval table.  

WORKFLOW:

find_real_file.png

NOTIFICATION:

find_real_file.png

11 REPLIES 11

harshinielath
Tera Expert

I had the same requirement and did a scheduled job:


see the screenshot below


Capture.PNG


Bit of a newbie here with any sort of scripting, so I'm going to be abusing these forums.

We are wanting to do similar, but having the reminders re-send after 1 week, then again after 2 weeks. If, after being active and not approved or rejected after 4 weeks, we want to be able to close the ticket.

So would literally just be sending the reminder twice. Would a scheduled job be best here, and setting a timer in the workflow to close the ticket if not approved/rejected after 4 weeks? Or just setting two timers in the workflow itself?