Incident getting added on problem form under related list 'Incidents'. Need help to understand how?

deepanshujain09
Tera Contributor

Whenever a problem is added on problem reference field on incident form. Current incident gets added to related list "Incidents" on related problem record. How is it happening? 

 

Also how can i implement same process for change request that when a change number is added on change reference field on incident form, then the incident should get added under related list on related change form.

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @deepanshujain09 

 

The addition/ mapping of records like this works with the M2M table, which means in the backend the tables have been built / mapped as many to many relationships so when you add an incident to prb it shows there. For more deep dive you can check the relationship table.

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

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

Ankur Bawiskar
Tera Patron
Tera Patron

@deepanshujain09 

the 1st case is handled due to the relationship between those 2 tables

When you populate the Change Request reference field on INC then it will automatically show under CHG related list here

So you need not do anything for this

 

AnkurBawiskar_0-1734958852236.png

 

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

@deepanshujain09 

Hope you are doing good.

Did my reply answer your question?

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

sanjay6
Tera Contributor

Hi @deepanshujain09 ,

 

Generally when you add a problem to an incident form it automatically gets added to the related list "incidents" on the related proble due to the OOTB configuration, Similarly if you add a change request number in the related record incident will automatically add to the change request.

 

sanjay6_0-1734979486573.png

 

sanjay6_1-1734979519436.png

This is the OOTB if you are creating for the custom table you need to define the relationship between them as descrbe below 

  1. Navigate to System Definition>Relationships
  2. Click New
  3. Name the Relationship and Select your table in Applies To table field.
  4. In Queries form table enter the table you want as in Related List in your table 

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