How to restrict View all Approvals in ServicePortal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-23-2025 10:48 AM - edited ‎04-23-2025 10:49 AM
I am trying to restrict Approvals on service portal header menu to only show approvals for certain task records. I modified the SP header menu but when clicking on Approval it shows View All Approvals which is still showing all approvals. View All Approvals have the following
var link = {};
link.title = gs.getMessage('View all approvals');
link.type = 'link';
link.href = '?id=approvals';
link.items = [];
t.items.push(link);
How can I add a condition to restrict by sys_class_name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-29-2025 09:44 PM
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader