- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2014 08:01 AM
I found a discussion regarding inactive users being shown on a catalog item. --> Reference field not showing inactive users for our asset team
I'd like to show the inactive users on the catalog item (Offboard a user) and all subsequent tasks. The discussion I found addresses catalog item part, but not the TASK part. Does anyone have any ideas?
Solved! Go to Solution.
- Labels:
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2014 08:11 AM
on the existing br you only need to modify ONE line.. find the if line that kicks it off and change it to
if (!gs.hasRole('user_admin') && !gs.hasRole('view_inactive_user') && (current.getEncodedQuery().indexOf('sys_id>')== -1))
<this adds the encoded query requirement to it>
then just add the ref qualifier to ANY reference field you want to show disabled users of sys_id>''
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2014 08:09 AM
Doug,
Is that the whole script? It looks like just a condition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2014 08:11 AM
on the existing br you only need to modify ONE line.. find the if line that kicks it off and change it to
if (!gs.hasRole('user_admin') && !gs.hasRole('view_inactive_user') && (current.getEncodedQuery().indexOf('sys_id>')== -1))
<this adds the encoded query requirement to it>
then just add the ref qualifier to ANY reference field you want to show disabled users of sys_id>''
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2014 09:38 AM
Doug,
Thank you - This seems to work! It was very simple as well. I just need to do further validation, but I think it should be ok!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2014 11:30 AM
kewl beans glad i could help we have it working on a couple of items in our catalog now.. set a delegate, set an out of office message and for the terminate item of course.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2017 02:21 PM
Raymond - I have this solution working on our forms for the end users, but now the fulfillers can't see the information on the items or tasks. Any ideas on what might be the issue?