My Approval Widget is not displaying to everyone

Sri56
Tera Contributor

Hi All,

Can anyone please help in visibility of "My approval" widget in service portal to everyone.

 

Thanks,

Sri

1 ACCEPTED SOLUTION

pavan9885
Tera Guru

Hi Sri,

 

if you want to show the my approval widget to every user in service portal there is role is defined in line 128 in your widget server script you can comment the role so all users can see the my approval widget.

2. As chuck replied you can check the roles and you  can r emove the roles from their 

 

data.ids = ids;
data.approvals = approvals;
data.showApprovals = true;//gs.getUser().hasRole('approver_user');
// for pagination

 

 

Note: please mark my answer helpful or correct so it would not wipped out from the community 

View solution in original post

15 REPLIES 15

I am sure servicenow now mandates all approvers should have approval_user role. @chuck should be able to answer this better, else reach out to your account manager.

Thanks

pavan9885
Tera Guru

Hi Sri,

 

if you want to show the my approval widget to every user in service portal there is role is defined in line 128 in your widget server script you can comment the role so all users can see the my approval widget.

2. As chuck replied you can check the roles and you  can r emove the roles from their 

 

data.ids = ids;
data.approvals = approvals;
data.showApprovals = true;//gs.getUser().hasRole('approver_user');
// for pagination

 

 

Note: please mark my answer helpful or correct so it would not wipped out from the community 

I tried modifying this code but still approval widget is not visible.

Les1
Tera Guru

@Vignesh

@Chuck Tomasi

we ran into this issue as well. 

other observations:

ESS users no longer see the My Approvals (Approvals) widget on service portal due to the new check for approval_user. 

for us ESS users only have access to Service Portal (not the servicenow backend)

if i provide an ess user with Approval_user role, it allows access to the backend. currently dont know of a good way for restricting backend access away from users with 'no role" or "approval_user" role.

 

Hello,

We are also facing the exact same issue, do you have any solution and i tried modifying the widget but no luck. Please help me if you were able to find any info regarding this.