- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2022 03:27 AM
Hi all,
we want to be able to create requests for an inactive user via portal - request models.
This should be possible for some weeks after the user was disabled to clean up the access rights,...
Unfortunately we can not use the oob-field 'active', because this is set automatically from another system.
So I created a customer field u_active, which is set by a script.
I changed the sys_property ‚glide.sc.request_for.query‘ to this value: 'active=true^ORu_active=true'
Now I - as a SN admin - can choose an inactive user (where u_active = true) in the request confirmation box.
But our ITIL users are not allowed to do this.
I did not find an ACL which prohibits the usage of inactive users.
What do I have to do to solve this issue?
Thanks for any suggestion.
Solved! Go to Solution.
- Labels:
-
Service Portal Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2022 03:31 AM
Hey,
This is governed by Query business rule on the user table, try finding "user query" BR on sys_user table.
Feel free to mark correct, If I answered your query.
Will be helpful for future visitors looking for similar questions 🙂
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2022 03:31 AM
Hey,
This is governed by Query business rule on the user table, try finding "user query" BR on sys_user table.
Feel free to mark correct, If I answered your query.
Will be helpful for future visitors looking for similar questions 🙂
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2022 05:04 AM
Sometimes it can be that simple (if you know where to look at).
I modified the query in that BR:
var grq = current.addActiveQuery();
grq.addOrCondition('u_active', true);
And now it works like it should.
Thanks for your assistance! 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-22-2022 01:55 AM
Rightly said,
Glad to assist!
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2022 03:32 AM
Hi,
You can try below article
How to make inactive users available for selection in reference fields/variables