Is it possible to base a reference qualifier for one reference field from another?

lonesoac01
Giga Guru

I’m trying to set a reference qualifier on the field change_request.u_business_line_approver.
The qualifier needs to use the value from change_request.cmdb_ci.assigned_to as the filter.

 

Has anyone implemented a similar qualifier, or can offer guidance on the best approach?

Thank you.

2 REPLIES 2

Dr Atul G- LNG
Tera Patron

Hi @lonesoac01 

 

https://www.servicenow.com/community/developer-forum/reference-qualifier-based-on-the-other-field-va...

https://www.servicenow.com/community/developer-forum/reference-qualifier-on-a-reference-field-based-...

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Ankur Bawiskar
Tera Patron

@lonesoac01 

what's your actual requirement?

on CHG there is custom field referring to sys_user i.e. u_business_line_approver

Now you want to see only that user who is present in assigned_to of that CI on CHG form?

if yes then do this in advanced ref qualifier

javascript: 'sys_id=' +  current.cmdb_ci.assigned_to;

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

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader