Send notification from record producer

souvick1
Tera Contributor

Hi team,

I have a requirement to send a notification from a record producer. I have created one event registry and one notification. Notification send on event fired and event name is configured. 

I have written on the record producer the below code:

gs.eventQueue("contact_creation_link", '', "", "email"); 
Once the record producer is submitted , it is creating an user on a table. So that particular user need to receive this email. 
In my case, user is getting created on the table but no email is generated. 
Please help with this.
 
Thanks in Advance
Souvick
5 REPLIES 5

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @souvick1 

 

I think you can do without event as well, when record get insert. 

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ Connect for 1-1 Session]

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

Dr Atul G- LNG
Tera Patron
Tera Patron

Are you tryng in PDI? If yes then on pdi inbound / outbound is restricted and no email will flow.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ Connect for 1-1 Session]

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

Hi,

I am doing on my dev instance, where outbound email is disabled and a particular email address is configured for non production testing, does this means there will be no email in email logs. And my event is working but due to disenabling I ma not able to see any emails in logs.

Hi @souvick1 

 

You can enable it and all email will go to that specific email box only. But it should available in email logs for preview.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ Connect for 1-1 Session]

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