My Approvals Widget "Loading Approvals"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2019 07:17 AM
Good Morning everybody.
I have an issue where when an approval is requested on an INC, the my approvals widget on the service portal for the approver just says loading approvals.
When I remove the approval it goes back to No pending approvals. When looking into this I see that in the HTML for the widget this is what causes that message
<div ng-if="data.approvals.length == 0 && data.pagination.of != 0">
${Loading approvals...}
</div>
and in the server side script this is what sets pagination
// for pagination
data.pagination = {};
data.pagination.hasNext = (approvals.length == (parseInt(lastRow) - parseInt(initRow)) && lastRow < rowCount);
data.pagination.hasPrevious = parseInt(initRow) > 0;
data.pagination.from = parseInt(initRow + 1);
data.pagination.to = parseInt(lastRow) < parseInt(rowCount) ? parseInt(lastRow) : parseInt(rowCount);
data.pagination.of = parseInt(rowCount);
data.pagination.showPagination = data.pagination.hasPrevious || data.pagination.hasNext;
data.pagination.currentPage = data.pagination.from > data.pagination.to ? currentPage -1 : currentPage;
The approver has approval user rights, and when I give them ITIL rights, the approval widget shows the approval correctly. Can anybody point me in the right direction on how to resolve this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2019 07:29 AM
In London, it looks like the Approvals Widget in the Service Portal has been known to freeze onLoad in some cases for certain user groups, and fail in others. In fact, the first case below seems to mirror yours. A potential solution:
"The solution was to approve/reject the group approval record once the approval date arrived.
Review the scenario and see whether the approvers belonged to an approval group. If their is a group approval that is past the approval date, make sure to mark the group approval to "approved/rejected". That should resolve the individual approver experiencing the hang of "Loading approvals..."
I hope these provide some insight. Good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2019 07:33 AM
I have seen the first article but it doesnt provide any type of resolution. The fact that I can give the person ITIL rights and it works fine is what is throwing me off. It feels like it would be an ACL but not sure how to test that theory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2019 07:46 AM
I looked at the first solution. No resolution is really given on this. Its also worth notiing when I add an approval to an RITM or a CHG they show up just fine for the user. it is ONLY when its on an INC.
Its odd that when I give them ITIL rights it seems to work fine as well which leads me to believe it might be an ACL issue but not sure how to test this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2019 07:52 AM
Is there an approver you can impersonate that has itil, and one that does not to try and debug from there? If I had to guess, it would have to do with ACL's and the roles related to itil and non-itil users are where the issue is. Not sure if these links will help at all:
https://hi.service-now.com/kb_view.do?sysparm_article=KB0723489
Sorry I cannot be of better help.