- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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:
If we change the dependent value from Company to Department, will the Caller reference field display only users belonging to the selected Department?
If it does not work, what is the technical reason behind it?
Can we achieve this requirement using the Dependent Field configuration, or do we need to use a Reference Qualifier?
If a Reference Qualifier is required, how can we configure it to display only users belonging to the selected Department?
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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;💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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;💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏