While Creating Hr case from backend in the Subject person able to see user record active and and inactive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2022 05:24 AM
Hi ,
While Creating Hr case from backend in the Subject person able to see 2 user records active and and inactive.
requirement is to show only active users in the subject person filed. please help
- Labels:
-
HR Service Delivery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2022 05:40 AM
By default, there is already a restriction OOTB for non-admin users. They can see the active user records only.
So please check if you are creating a case via admin or non-admin user.
If it still does not work, you may have to check the reference qualifier where the script include hrUtils is being used and modify the function as per your requirements.
Please mark help/correct. Thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2022 05:47 AM
Hi, by default you can select only active users in subject person field. If you are seeing both active and inactive users then go to Configure dictionary of Subject Person field and see the reference qualifier. Likely that would have changed.
Regards,
Vamsi S

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2022 06:32 AM
Hi Candy,
As the others mentioned, OOB user queries are limited to active users only for users that do not have the admin or user_admin roles. This is controlled by the "user query" Business Rule. Then you can also go to the "Case Creation Configuration" module and override the default filter on cases created from the backend (e.g., active = true).