Service Portal - My approval list does not show delegate user's approval list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2017 11:37 PM
Hi,
We are using Istanbul version. In Service Portal page, "My approval" list does not show the delegate user's approval list.
However, these are getting displayed in "Self service -> Approvals assigned to me".
Could you please let me know how to show these in "Service Portal" page?
thanks
guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2017 11:27 AM
In the client script on the OOTB widget above "var approvals = []" modify the query with the following. This will make the widget show all approvals including delegated approvals.
var u = getMyApprovals();
var gr = new GlideRecord('sysapproval_approver');
gr.setLimit(50);
var qc1 = gr.addQuery("state", "requested");
if (input)
qc1.addOrCondition("sys_id", "IN", input.ids);
gr.addQuery("approver", u);
gr.orderBy("sys_created_on");
gr.query();
Please mark as helpful or correct based on impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2024 04:59 AM
Let me know what query needs to be adjusted in the client script