show child and parent problem tabs in related list

acg
Kilo Contributor

I'm familiar with the m2m table for incident and problem where I can get it to links to work between related incident and problem which shows up in the related tabs under their respective related list sections.

But if I have a problem ticket and in the related list,   I like to show child problems under that ticket and also parent problems under that ticket in the related list section tabs. Basically a child problem ticket can also be a parent to other problem tickets and on and on. I can't do an m2m table on the same table (problem).   I also looked into the many to many task activation plugin, and thought that might help but confused by what it actually does. Any guidance is much appreciated.

4 REPLIES 4

SanjivMeher
Kilo Patron
Kilo Patron

Hi,



There can be one parent for a problem. So you should add Parent field on the form. And One related list for child.


If you dont see the related list, you should create one relationship record under System Definition->Relationships.



Please mark this response as correct or helpful if it assisted you with your question.

Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

That is totally OOB.



Put in the Parent field on the form:


problem related list 0.JPG



Configure the related list:


problem related list 1.JPG



And then you will see the childs if you go to the parent.


problem related list 2.JPG



And yes, a child can be a parent to other childs. but a child can only have 1 parent.



//Göran


thanks for your replies all. Goran, I'm working on my personal instance istanbul version. The shop I'm in has more than one parent problem setup but let say there is one parent problem, I did what you mentioned which was put parent field in the form (I had to change reference table from task to problem though) which gave me access to problem tickets.



On the related list, everyday appear the same as your screen shot except that my Parent filter search is not correct. How do I go about modifying the filter condition? but I figure it should be the similar filter condition as your OOB configuration?



find_real_file.png



furthermore, when I decided to pull the child tab as well, not sure why that is showing empty as well even though the filter condition appear correct here.   Thanks for any clarifications.



find_real_file.png


Rj27
Mega Guru

Hi @acg ,
Tryin my luck on this old post.

Did you find solution of this?