Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

How to send emails to multiple users with multiple conditions

AnilM99
Tera Expert

Hi Team,

I want to sent email.

 

AnilM99_1-1706009811817.pngAnilM99_2-1706009853807.png

 

My requirement:

If (Incident Assignment group == configuration item Support Group){

if(Primary User != ""){

send email to primary user.

}

if(Secondary User != ""){

send email to Secondary User.

}

if(Primary User == "" && Secondary User == ""){

send email to Support Group.

}else{

send email to incident Assignment group

}

 

Help on the Notification Email Script

 

Thanks

Anil!

 

1 REPLY 1

Dr Atul G- LNG
Tera Patron

Best is to via Flow and put the conditions. 

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************