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 08:15 AM
I know how to debug, but when on the service portal as a none itil user it doesn't give any debugging information.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2019 08:23 AM
SO in some additional testing, I found if the user is the one that opens the INC they can see the approval attached to it on the portal. Not sure if that additional info helps anybody.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2019 03:38 AM
Hi ,
Any solution, i am also facing same kind.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2019 07:18 AM
Hi,
did you solve this? I am having the same issue :).
Br,
Sophia

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2019 11:56 PM
turns out my test data was defected. It works for me, sorry to bug you.