Need to show related list on the List view of the problem table

Suraj02
Tera Contributor

Hello community,

 

I want to display the related list of the Problem record on the list view of the Problem. How I can achive this functionality without using the code?

 

Thanks.

2 ACCEPTED SOLUTIONS

Prathamesh G
Kilo Sage
Kilo Sage

Hello @Suraj02,

 

You can achive this using the 'Hirarchical List' functionality. Below is the steps to activate the 'Hierarchical lists' on your specified table:

1. Go to the list view of your table records.

2. Right click on any column label. 

3. Go to the Configure > List Control > Hierarchical lists. 

3. Set the Hierarchical lists checkbox to TRUE and update the form.

4. Go back to your List View, You can see a small '>' at the start of the record. Click on that icon to see all your related lists associated with that record.

 

The output result will be look like this:

Prathamesh_0-1703827785141.png

 

 

If my answer solves your issue please mark it as 'Accepted Solution' and marked it as 'Helpful'.

 

Thank You!

View solution in original post

6 REPLIES 6

Siddhesh Gawade
Mega Sage
Mega Sage

Hello @Suraj02 ,

 

I am not about the business requirement here, but you can achieve this using OOTB functionality of related list.  

1. Open problem records, right-click on header > Configure > related list. Here you will OOTB related list to add there is a one Related list 'Problem > Parent' that you can use to show problem records ehich are the child of current records.

 

2. Another way is to create custom related list. So for that Navigate to System Definition > Relationships. In here you can create New record. Something like below: 

SiddheshGawade_0-1703827728284.png

 

In this you required very low code to query the records. And show as list. After creating you can add this list to record form with same procedure as point (1).

 

See the below Demonstration video to create related lists.

How to create Related List | Relationships in ServiceNow.

 

Kindly mark the answer ✔️Correct or Helpful ✔️If it addresses your concern.


Regards,

Siddhesh

 

Hello @Siddhesh Gawade, I want to display the all the related lists of my Problem record on the List view of the Problem records. And I am now able to see this using the Hirarchical list functionality. Thank You for your response as well.