referance qualifier

JaswanthKaladi
Mega Contributor

can anyone explain about referance qualifiers

2 REPLIES 2

GlideFather
Tera Patron

Hi @JaswanthKaladi,

 

as the name indicates it is for reference fields and the qualifier are conditions that records must qualify to be selectable.

 

The simplest example: "active=true", only active records from the referencing table are selectable, if any is inactive then it will not be possible to see nor select it.

 

Another use example - on incident form there are Assignment group and Assigned to fields. Once you select any group in the AG, then the Assigned to must be a member of that group...

 

Look at this example, there's Caller field on the incident form, which is a reference field from the User table. And the reference qualifier is set "Active is true + Location is Calgary", it is a silly example but just to give you idea.

That means that in the Caller field after saving that ref qualifier only active users from Calgary will be selectable, if somebody is inactive and from Calgary or active but not from Calgary they will not be selectable:

GlideFather_1-1771428972928.png

 

 

Reference qualifier can be simple as seen above or scripted. Let me know if that answered your question,.

 

 

_____
100 % GlideFather experience and 0 % generative AI

Aditya_hublikar
Kilo Sage

Hello @JaswanthKaladi ,

 

A Reference Qualifier in ServiceNow is used to filter the records displayed in a reference field. In simple words, it works like a filter that controls which records are shown in the reference lookup based on specific conditions.It ensures that only the required records are displayed instead of showing all available records.

There are three types of Reference Qualifiers:

1) Simple Reference Qualifier

Used to apply simple conditions directly ,eg.assignment group=hardware , It filters records based on straightforward field conditions.

 

2.Advanced Reference Qualifier

Used when complex filtering is required.,You can write encoded queries Or call a Script Include to return filtered results dynamically .This is useful when filtering logic depends on scripting or multiple conditions.

 

3. Dynamic Reference Qualifier

Uses Dynamic Filters ,It filters records dynamically based on the logged-in user or predefined dynamic conditions.

 

If this helps you then mark it as helpful and accept as solution,

Regards,

Aditya,

Technical Consultant