Can We Filter the Caller Reference Field Based on Department Instead of Company Using Dependent Fiel

BURLED
Tera Contributor

Hi Everyone,

 

I have a question regarding Dependent Fields and Reference Qualifiers in ServiceNow.

Scenario:

On the Incident form, we have a Caller field that references the User [sys_user] table.

Currently, the Caller field has a dependency based on the Company field.

I would like to understand what happens if we change this dependency from Company to Department.

My Questions:

  1. If we change the dependent value from Company to Department, will the Caller reference field display only users belonging to the selected Department?

  2. If it does not work, what is the technical reason behind it?

  3. Can we achieve this requirement using the Dependent Field configuration, or do we need to use a Reference Qualifier?

  4. If a Reference Qualifier is required, how can we configure it to display only users belonging to the selected Department?

  5. What is the difference between using a Dependent Field and a Reference Qualifier in this particular scenario?

I would appreciate it if someone could explain the technical reason and provide a practical example.

 

I want to prepare a detailed technical document in Microsoft Word for this ServiceNow issue, including screenshots and proper explanations, to improve my understanding of the concept.

I would like to document the complete scenario, the problem, the technical reason, the solution, and the configuration steps with supporting evidence.

Please help me prepare this documentation in English with relevant screenshots and references so that I can understand the issue clearly and use it for future reference.

Thank you! for your help!

 

Best regards,

Damodar.

2 ACCEPTED SOLUTIONS

Aditya_hublikar
Giga Sage

Hello @BURLED ,

 

In this scenario, changing the Dependent Field from Company to Department may work if the Incident and User tables have correctly mapped Department reference fields. However, a Reference Qualifier is a more flexible and reliable approach because it allows us to filter the Caller reference field dynamically based on the Department selected on the Incident form. We can configure an Advanced Reference Qualifier on the Caller field using javascript: 'department=' + current.getValue('department'). This ensures that only users belonging to the selected Department are displayed in the Caller lookup, provided both Department fields reference the same table.

 

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

Regards,

Aditya

View solution in original post

Ankur Bawiskar
Tera Patron

@BURLED 

My thoughts

-> The Dependent field must be a field on the same table as the field being made dependent

-> dot-walking is not supported for the standard Dependent field configuration

-> for your requirement you can use reference qualifier and not dependent field logic, something like this

javascript: 'department=' + current.department;

Make a field dependent 

Screenshot 2026-11-11 105720.png

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏

View solution in original post

2 REPLIES 2

Aditya_hublikar
Giga Sage

Hello @BURLED ,

 

In this scenario, changing the Dependent Field from Company to Department may work if the Incident and User tables have correctly mapped Department reference fields. However, a Reference Qualifier is a more flexible and reliable approach because it allows us to filter the Caller reference field dynamically based on the Department selected on the Incident form. We can configure an Advanced Reference Qualifier on the Caller field using javascript: 'department=' + current.getValue('department'). This ensures that only users belonging to the selected Department are displayed in the Caller lookup, provided both Department fields reference the same table.

 

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

Regards,

Aditya

Ankur Bawiskar
Tera Patron

@BURLED 

My thoughts

-> The Dependent field must be a field on the same table as the field being made dependent

-> dot-walking is not supported for the standard Dependent field configuration

-> for your requirement you can use reference qualifier and not dependent field logic, something like this

javascript: 'department=' + current.department;

Make a field dependent 

Screenshot 2026-11-11 105720.png

💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏