Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

TAG &

RodolpheT_
Tera Contributor
Good morning,
Could anyone help me?
I would like to know if it is possible to automatically trigger an email notification to 1 or more users as soon as a tag is associated with an incident?
Many thanks in advance for you help,
Best Regards,
Rodolphe

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron

@RodolpheT_ 

This is possible tags are stored in label_entry table

So you can have an event, notification on that table and have after insert BR and pick the incidents assigned to user and send email

I hope you will be able to take it from here, creating event, notification etc

Query incident table with that Target ID and get the assigned to user

when you add a tag to record it looks like this

 

AnkurBawiskar_0-1737989769949.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

6 REPLIES 6

Dr Atul - LNG
Tera Patron

Seems, there is no option to add tags in the condition for notification. 

****************************************************************************************
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
******************************************************************************************

Shivambitanwar1
Tera Contributor

Hi Rodolph,

 

Technically yes. You can have a BR on label_entry Table,Condition when Label Target is incident. When the record is inserted . You can have a logic there in script to call an event using gs.eventQueue().  Use the trigger in the notification to be Event is Fired  .

 

 

//Shivambi

Ankur Bawiskar
Tera Patron

@RodolpheT_ 

This is possible tags are stored in label_entry table

So you can have an event, notification on that table and have after insert BR and pick the incidents assigned to user and send email

I hope you will be able to take it from here, creating event, notification etc

Query incident table with that Target ID and get the assigned to user

when you add a tag to record it looks like this

 

AnkurBawiskar_0-1737989769949.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@RodolpheT_ 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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