- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2016 08:34 AM
If a user is a delegate and the user they are a delegate for gets an approval request will they see that approval request in their pending approvals queue?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2016 08:45 AM
It depends what the code is behind your link.
For example, if your filter is set to: javascript:gs.getUserID(); then no, the delegate will not see the approvals. However, if your filter is set to javascript:getMyApprovals(); then yes, the delegate will see the approvals. This is why, when you are modifying the left hand navigation items, you have to remember that some are setup from SN using functions other than what you may expect because they need to look for items you are a delegate of, in addition to your own items.
At one point there was a business rule that ran on the sys_approval table called approval query that actually called getMyApprovals every time the table was queried, essentially doing it for you. But in my developer instance that rule has been inactivated, so I am assuming it is inactivated in your instance too. Therefore, setup your link to point to javascript:getMyApprovals(); and it will show the approvals for the user and the users they are delegates of.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2016 08:45 AM
It depends what the code is behind your link.
For example, if your filter is set to: javascript:gs.getUserID(); then no, the delegate will not see the approvals. However, if your filter is set to javascript:getMyApprovals(); then yes, the delegate will see the approvals. This is why, when you are modifying the left hand navigation items, you have to remember that some are setup from SN using functions other than what you may expect because they need to look for items you are a delegate of, in addition to your own items.
At one point there was a business rule that ran on the sys_approval table called approval query that actually called getMyApprovals every time the table was queried, essentially doing it for you. But in my developer instance that rule has been inactivated, so I am assuming it is inactivated in your instance too. Therefore, setup your link to point to javascript:getMyApprovals(); and it will show the approvals for the user and the users they are delegates of.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2016 10:35 AM
where will I finf this "javascript:getMyApprovals()". I am not able to find it in scfipt include.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2016 10:47 AM
It's a global Business Rule - not a Script Include.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-19-2016 11:16 AM
so basically if this business rule "approval query " is not active, then delegate wont be able to see the approvals for users they are delegate for, right?