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."
Related list not appearing as expected
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 11:36 PM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 12:34 AM
Below are some screenshot for more info.
"Approvals" related list is not visible.
"Approvals" related list is visible after clicking "Show All Related List"
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 01:01 AM
*************************************************************************************************************
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]
****************************************************************************************************************
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]
****************************************************************************************************************
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 01:54 AM - edited 04-03-2025 01:55 AM
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".
Are you getting any results? If so try temporarily deactivating those Client Scripts/UI Policies to see if this resolves the issue.
Regards,
Robert
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 02:02 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 02:09 AM
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