- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2017 07:00 PM
Dear Sir,
I had create a 'Contract' table. When I open the reference field (click the search button), it will show all the information in the table. Can I use some scripting or other method to limit the information of the table, such as only active = true, expire date > today.
I tried to setup a filter like above picture, but I hope the filter is already used when I opened. No need to click the 'Contract is true' for every time.
Thanks.
Best regards,
Ling
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2017 07:16 PM
Hi Sin,
It's easy to configure. You need to go to the dictionary of the Field by right clicking on it and under 'Reference Specification' tab set the Filer condition there. Please find the screenshots below:
I hope this helps.Please mark correct/helpful based on impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2017 07:03 PM
Hi there,
You can do this using a Reference Qualifier: Configure reference qualifiers. A reference qualifier allows you to specify filter conditions that will limit the related records you can put in the reference field to those that meet the condition you specify. If you just want to filter on simple field values (like the ones you specify, active=true, date > today, etc), a Simple reference qualifier will probably work just fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2017 07:12 PM
System administrators can configure reference qualifiers through the system dictionary.
- Navigate to the reference field on the form you want to edit.
- Right-click the form label and select Configure Dictionary.The Dictionary Entry form opens.
- To change views, select Default view or Advanced view under Related Links.
- Specify the table
- select the type of qualifier in the Use reference qualifier
6. Configure the qualifier: Build the condition that you want to filter
7. Update
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2017 07:16 PM
Hi Sin,
It's easy to configure. You need to go to the dictionary of the Field by right clicking on it and under 'Reference Specification' tab set the Filer condition there. Please find the screenshots below:
I hope this helps.Please mark correct/helpful based on impact

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2017 07:17 PM
Hello Ling,
Use reference qualifier for this scenario.
Hope this below links may helpful to you.
http://wiki.servicenow.com/index.php?title=Reference_Qualifiers#gsc.tab=0
Dynamic reference qualifier example https://docs.servicenow.com/bundle/istanbul-servicenow-platform/page/script/server-scripting/concept...
Reference Qualifiers - Adding Multiple Conditions
ServiceNow Commnunity MVP -2018 class.