How to restrict View all Approvals in ServicePortal

samadam
Mega Sage

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

5 REPLIES 5

@samadam 

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.