
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2016 06:58 AM
I have a UI action form link that directs users to all of their approvals. I need the link to only direct users to approvals for a specific task table, is this possible?
var url = '/sysapproval_approver_list.do?sysparm_query=approver=' + gs.getUserID();
action.setRedirectURL(url);
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2016 07:02 AM
For a specific task table? You mean something like "My Change Request Approvals"?
Yes, that's possible. Add this part to your query to get just the requested ones in the change_request table.
state=requested^sysapproval.sys_class_name=change_request
Your entire URL would be more like:
var url = '/sysapproval_approver_list.do?sysparm_query=approver=' + gs.getUserID() + '^state=requested^sysapproval.sys_class_name=change_request';

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2016 07:02 AM
For a specific task table? You mean something like "My Change Request Approvals"?
Yes, that's possible. Add this part to your query to get just the requested ones in the change_request table.
state=requested^sysapproval.sys_class_name=change_request
Your entire URL would be more like:
var url = '/sysapproval_approver_list.do?sysparm_query=approver=' + gs.getUserID() + '^state=requested^sysapproval.sys_class_name=change_request';