- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2025 09:23 AM - edited 06-13-2025 09:24 AM
Hello guys,
Hope you can help me.
I've created a catalog item where we have two fields (Primary owner and alternative owner). Both of them reference the sys_user table
I want to do is exclude the primary owner from the alternative owner list. For example, if you select "wilson" for the primary owner, this "wilson" shouldn't be available in the alternative owner list
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2025 10:24 AM
Hi @AhuelieW ,
in context of catalog item you can use this
on alternative owner variable
javascript:'sys_id!='+current.variables.primary_owner;
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2025 09:49 AM
Hi @AhuelieW ,
open the dictionary record of Alternative Owner field and add a reference qualifier
javascript:'sys_id!='+current.u_primary_owner;
if you want to the other around too to exclude alternative owner on primary owner field
do the samething
open the dictionary record of Primary Owner field and add a reference qualifier
javascript:'sys_id!='+current.u_alternative_owner;
replace u_alternative_owner with your alternative onwer field backend name
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2025 10:19 AM
Hi ,
Thanks for your response. Unfortunately it didn't work.
Here is the context: These variables only exist within my catalog item (Shared drives request), that means they don't really have a dictionary. However we can add the reference qualifier under Type specifications in the advanced view. This where i've entered the piece of code you provided But no luck... Still not working.
javascript:'sys_id!='+current.primary_owner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2025 10:24 AM
Hi @AhuelieW ,
in context of catalog item you can use this
on alternative owner variable
javascript:'sys_id!='+current.variables.primary_owner;
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2025 10:27 AM
That works, Thank you so much