Related list not appearing as expected

Nishant Kumar5
Tera Contributor

I have built a custom relationship between approval and a custom scoped table. Also added the relationship in the related list on the table. But the related list is only appearing when clicking on "Show All Related Lists". I want to show the related list by default for the users.

 

Earlier I was under the impression that it is not being shown because no records exists in sysapproval_approver for that relationship, but even after creating records, the related list does not appear.

10 REPLIES 10

Nishant Kumar5
Tera Contributor

Below are some screenshot for more info.

NishantKumar5_0-1743665504090.png

"Approvals" related list is not visible.

NishantKumar5_2-1743665673125.png

"Approvals" related list is visible after clicking "Show All Related List"

Hi @Nishant Kumar5 

please check the second screen shot where the approval tab is showing. Go to the list layout and verify if there are any validations, like 'omit if empty' ticked or not."

 

AGLearnNGrow_0-1743667266398.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]

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

Hello @Nishant Kumar5 ,

 

Please go to Configure > Client Scripts on the custom table form context menu.

Then add the filter condition "Script" "contains" "hideRelatedList".

If there no search results repeat the same via Configure > UI Policies and filter for "Execute if true"  "contains" "hideRelatedList" OR "Execute if false" "contains" "hideRelatedList".

RobertH_1-1743670317989.png

 

Are you getting any results? If so try temporarily deactivating those Client Scripts/UI Policies to see if this resolves the issue. 

 

Regards,

Robert

 

 

@Nishant Kumar5

Is that "Show all related lists?" a custom link or OOTB one?

Also definitely some script etc is hiding the other related list and that's the reason that custom LINK was created by some developer to show all the related lists.

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

Hello Ankur,

 

It was a custom link, but copied from an OOTB one. There has been no change in logic or filters while copying from the OOTB one.

 

BR,

Nishant Kumar