Want to config reference qualifier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2023 07:11 PM
Hello All,
I have the following like users on my PDI.
-----
UserName:Service Desk / Role:service_desk
UserName:Service Desk1 / Role:service_desk
UserName:Soft Ware / Role:software
UserName:Soft Ware1 / Role:software
-----
I want to config reference qualifier for reference filed.(The reference is sys_user)
My requirements:
When Service Desk user references, he can only list by users with role service_desk.
In other word, Service Desk user can list only Service Desk1. He never list Soft Ware and Soft Ware1 user this scenario.
Conversely, Soft Ware user can list only Soft Ware1 and he never list Service Desk and Service Desk1 user this scenario.
I think that I need to create a script include, but I could not resolve...
Could you help me to resolve my requirements ?
Regrds,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 12:24 AM
Hi @matsui,
Could you explain your use case for this?
From what you are providing now, I would say it is better to assign your users to assignment groups, and create the logic from there.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 07:04 AM
Hi @Peter Bodelier
Thank you for your reply.
I share you my use case.
I am logged in as Service Desk.
There is reference filed.(The reference is sys_user)
As I said, this user has service_desk role.
Service Desk1 user also has service_desk role.
At this time, Service Desk user can list all user in sys_user, but I want to list only Service Desk1.(In other ward, user with service_desk )
When logged in as Soft Ware, it need to list only Soft Ware1.
I think that I need to config Reference Qualifier for this scenario.
I hope I have explained enough.
Regards,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 07:17 AM
Hi @matsui,
I understood what you want to do, but I would like to know why you want to do it this way. It seems to me there are better options than filtering by same user role as current user.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 07:30 AM
This is because security requirements require a complete separation of the Service desk and Software.
Users with Service desk roles should not be selectable by Software users.
The same applies vice versa. Software is not selectable by Service Desk users.
Could you please let me know if there is a better way to meet this requirement?
Regds,