- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2019 06:14 AM
Hi All,
Can anyone please help in visibility of "My approval" widget in service portal to everyone.
Thanks,
Sri
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2019 06:28 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2019 06:31 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2019 06:28 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2020 04:38 AM
I tried modifying this code but still approval widget is not visible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2019 12:33 PM
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2020 09:58 PM
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.