Trigger notification for dynamic users

SnowUserDev
Tera Contributor

Hey Community,

 

Can u help me with 1 query I want to send notification but to dynamic users how can I achieve that?

 

Thanks,

2 ACCEPTED SOLUTIONS

Danish Bhairag2
Tera Sage
Tera Sage

Hi @SnowUserDev ,

 

There are two ways via which this can be achieved

  • Using Event Queue
  • Email script

Adding links for sending mail via Event Queue n Email Script.

 

https://youtu.be/KCzCO0VDm5A?si=O4--hsCcEkBp4n3B

 

https://www.servicenow.com/community/developer-forum/gs-eventqueue/m-p/1529243#M186169

 

Thanks,

Danish

 

View solution in original post

In This video you will learn about Notification Email Script in ServiceNow. You will learn how can you send dynamic content in the emails from ServiceNow with custom logic. You will learn : - What is Email Script in ServiceNow - How email script is used to send dynamic content in email ...

Hi @SnowUserDev ,

 

Yes email script can help u here. 

You can use email.addCc or email.addBcc options in that as well.

In the email script u can query the list of users using GlideRecord n add as per ur need.

 

Thanks,

Danish

 

View solution in original post

4 REPLIES 4

Danish Bhairag2
Tera Sage
Tera Sage

Hi @SnowUserDev ,

 

There are two ways via which this can be achieved

  • Using Event Queue
  • Email script

Adding links for sending mail via Event Queue n Email Script.

 

https://youtu.be/KCzCO0VDm5A?si=O4--hsCcEkBp4n3B

 

https://www.servicenow.com/community/developer-forum/gs-eventqueue/m-p/1529243#M186169

 

Thanks,

Danish

 

In This video you will learn about Notification Email Script in ServiceNow. You will learn how can you send dynamic content in the emails from ServiceNow with custom logic. You will learn : - What is Email Script in ServiceNow - How email script is used to send dynamic content in email ...

Hi @Danish Bhairag2 ,

 

What if I want to add more than 2 recipients?

Which way would help me here.

I am thinking the email script

 

Thanks

Hi @SnowUserDev ,

 

Yes email script can help u here. 

You can use email.addCc or email.addBcc options in that as well.

In the email script u can query the list of users using GlideRecord n add as per ur need.

 

Thanks,

Danish

 

@Danish Bhairag2 ,

 

Thanks for the inputs & the links. I could see it in the demo as well .