How to restrict table values in reference field using reference qualifier?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 07:30 AM
I have a requirement where the location field in alm_hardware record should only show limited location when certain conditions are met:
Conditions : Managed by should be a specific record (ABC)
Another custom field called usage type should have a value called 'location'.
Note: the usage type field have different values on which different locations will be populated. As of now I am only talking about the usage type : Location.
Then,
When you click on location reference field it should only show the location APAC no other options.
Please find the snapshot attached for better understanding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 07:44 AM
Hi,
If this is only restricted to one or two locations, you can hardcode the values in reference qualifier.
If you want to make some generic rule for other scenarios, you need to establish a relation between location and two other fields using which system can apply the reference qualifier.
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 07:49 AM
How to write this reference qualifier?
I am new to this and don't exactly know how it works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 07:59 AM
Hi @Meghant Rai
Please refer below links -
Reference Qualifiers in ServiceNow | ServiceNow Tutorial - YouTube
Reference qualifiers (servicenow.com)
Thanks and Regards,
Saurabh Gupta