'My Approvals' Menu Item is not showing up in Service Portal Header.

snow_p
Tera Contributor

Hi,

We upgraded from Kingston to Madrid recently. The 'my approval' menu item on the Service Portal header is not showing up after upgrade.

The menu item is available for all before upgrade and now it is showing up for particular users.

Is there any role restriction or how can I made it available all the the time in service portal header. 

 

Before Upgrade

find_real_file.png

 

After Upgrade

find_real_file.png

 

Thanks,

9 REPLIES 9

It makes no sense to show approvals when there is no approval records , also it may confuse users.

 

Unfortunately it was controlled by some OOB scripts , i think it should be in theme header.

 

 I tried  changing the below in my approvals menu item.

t.count = 0; ==> t.count = 1;// line no 5

it shows approval option even when there is no approval record but it shows 1 record in approvals badge.

 

Thank you, I did this already, instead of putting 1, i commented the count, so it won't show any number.

But now I have cloned the Header Menu Widget to get the same. But now its not showing the view all approvals pop up, when there are no approvals, so working on it.

 

Thanks for the reply.

 

Laukik.

below post have  the solution for exact same function which you are trying to do.

https://community.servicenow.com/community?id=community_question&sys_id=9272c7f1dbfa53805ed4a851ca961949

Hello @Mark Roethof 

 

My Dev instance recently upgraded to Utah and all main menu is not visible . i check main menu page and all menu page there and active .

condition also met but still not visible on portal.

 

any idea how can i take it back.

 

Thanks in advance.

Servicenow10
Kilo Guru

hi 

make a copy of approval widget put it in some page or make a copy of approval page and then in widget in server script in 128th line:

do this ->

data.showApprovals = true;//gs.getUser().hasRole('approver_user');

and this will make the link available for all users 

please mark my answer correct or helpful if its resolved your issue.