How can I make a approval reminder for unapproved RITM that runs daily and works in 8-5 weekdays.

aniellacerna
Tera Contributor
 
2 REPLIES 2

Utpal Dutta
Tera Guru

Hi there,

I found a community article over here which will help you achieve this requirement. But just to give you a gist you need to create a Scheduled job that will run daily on a specified time and then that scheduled job will trigger a notification but for that you need to register an event and tag that event to your notification.

 

I hope my answer helps, if it does then please mark my answer correct.

 

Thanks,

Utpal 

Vishal Birajdar
Giga Sage

Hi @aniellacerna 

 

You can use scheduled job to run it in weekdays like below : 

 

/* Get Day of week */
var day = new GlideDateTime().getDayOfWeek();

/* If day is not saturday or sunday then run the script */
if (day != 6 || day != 7) {
   // your script to trigger notification
}

 

VishalBirajdar_0-1699359321702.png

 

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates