Exclude users from receiving notifications

ShubhankarK9612
Giga Contributor

Hi Community,

 

I want to exclude 9 users from receiving notifications and these notifications gets triggered by a schedule Jobs which runs daily. Can I use conditional script in the scheduled Job or do I need to write an email script. 

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@ShubhankarK9612 

yes in your scheduled job script where you are grabbing the recipients based on your logic, simply add script to exclude those 9 users.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur, Thanks for the reply.

 

Can you please help me with the script to achieve this?