how to add incident number in request item table notification

Vinod S Patil
Tera Contributor

Hello Team,

I have requirement to trigger the notification when catalog item server failed.
I have created email script to add all the variable value from the "Storage" catalog item.

created notification with run type fired event.
Created event with storage and table name is 'request item'.

In flow designer created event fire action to fire the event and selected the table name as incident.

Here my question is how to add this incident number in the notification body? 

Go through below screen shot for understanding

VinodSPatil_0-1747923732141.png



VinodSPatil_1-1747923786721.png

 

VinodSPatil_2-1747923838266.png

This event is added in the subflow of the flow.

 

 

 


please suggest me

@Ankur Bawiskar 

2 ACCEPTED SOLUTIONS

Pankaj kr
Kilo Sage

Hi @Vinod S Patil ,

 

Try changing table name in flow to sc_req_item (same as event registry) and pass your incident number in the parameter. From email script or notification you can easily dot walk and use ${event.parm1} for putting in the notification body. For more debugging kindly share your email script as well.

 

If this helped you, pls mark this as helpful and accepted.

View solution in original post

Ankur Bawiskar
Tera Patron
Tera Patron

@Vinod S Patil 

if you pass the correct incident number in Event parm1 then it should work

are you sure you are dot walking till Number in that Data pill?

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

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

View solution in original post

7 REPLIES 7

Pankaj kr
Kilo Sage

Hi @Vinod S Patil ,

 

Try changing table name in flow to sc_req_item (same as event registry) and pass your incident number in the parameter. From email script or notification you can easily dot walk and use ${event.parm1} for putting in the notification body. For more debugging kindly share your email script as well.

 

If this helped you, pls mark this as helpful and accepted.

@Pankaj kr 

Let me thank you for your suggestion!

I added in email template as you mentioned but response getting in sysId I guess

VinodSPatil_0-1747925466704.png

VinodSPatil_1-1747925541939.png

 

 

You are almost there, just pass the correct value from data pill in the parameter, or try dot walking the incident to fetch the number. It will be fixed. 

 

If this helped you, pls mark this as helpful and accepted.

 

Ankur Bawiskar
Tera Patron
Tera Patron

@Vinod S Patil 

if you pass the correct incident number in Event parm1 then it should work

are you sure you are dot walking till Number in that Data pill?

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

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