How to show related Problem/Change request number in Incident notification body?

DevYadav
Tera Contributor
Hello Community, I have created a notification on Incident. Currently it is sending only incident details. Now my requirement is: In the email body, along with incident information, I also want to display the related Problem number and Change Request number (if available). Basically, whenever a problem or change is linked to the incident, its number should also appear in the notification. Can someone please guide me how to configure this? Do I need to use dot-walking in the notification template or write a script to fetch related records? Any example or best practice will be really helpful. Thanks in advance!
3 REPLIES 3

Rafael Batistot
Tera Sage

Hi @DevYadav 

 


See this example body 

 

Incident Number: ${number}
Short Description: ${short_description}

Related Problem: ${problem_id.number}
Related Change Request: ${change_request.number}

kaushal_snow
Mega Sage

Hi @DevYadav ,

 

Open the existing notification record associated with the Incident table....

 

Edit the Email Body...In the What it contains tab,

 

1. To display the related Problem number:

Problem Number: ${incident.problem.number}

 

2. To display the related Change Request number:

Change Request Number: ${incident.change_request.number}


If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @DevYadav 

 

Thera are change field on form as well:

 

DrAtulGLNG_0-1757429331528.png

 

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

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