How to Filter only sc_req_items in the Approval widget on the ServicePortal

Peter Williams
Kilo Sage

Good day everyone,

i am looking for how i can only display sc_req_items in the Approvals widget for the ServicePortal view.

I want to not display the CHG or any other approvals but just the RITM ones.

Tried to clone the widget and modify the code but nothing seem to work

 

any help will be great.

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Peter Williams 

but why?

The approval widget is a central place to show all the approvals for the person who logged in.

What if the person has CHG approval then it would be very difficult for that person to check the approvals?

this link has the solution, please enhance

Restrict approval widget to show only RITMs/CRs approval on Service Portal 

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

View solution in original post

11 REPLIES 11

@Peter Williams 

Link I shared should work for you, please enhance

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

i tried it and didnt work

 

PeterWilliams_0-1744650701356.png

 

PeterWilliams_1-1744650728548.png