Notification from record producer

servicenow14710
Tera Expert

When incident is created there is a notification triggered as default. I have created one record producer which creates an incident. Once this incident is created i need other emails to get trigger/ send notifications .

I need to send same email notification but with different recipients when incident is created from record producer servicenow.

How can i achieve this? How to differentiate from where incident is getting created. Any help is appreciated. Thanks.

12 REPLIES 12

Mehta
Kilo Sage
Kilo Sage

Can you specify which emails you want to trigger.

servicenow14710
Tera Expert

Hello mehta , Thanks for looking into this.

I need notification to trigger when incident is created from particluar record producer to send email notification to others, in addition to the one who creates incident. Let me know if im clear in this.

In that Case, You need to create an event in event registry as given below. 

 

Mehta_0-1682944407758.png

 

Once created you have create a notification on incident table which will get triggered on the above event , as in the below screenshot : 

Mehta_1-1682944565853.png

 

Once done , Please add mentioned line of code in your record producer. this line will triggered the mention event from record producer : 

gs.eventQueue("trigerred.from.record.producer", '', "parm1", "parm2"); // parm1 and parm2 can be any value you want to pass into event.

 

 

VyshnaviA
Tera Contributor

Hi
How to send green notification ribbon on record producers.