- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 12:46 AM
HI Community,
Can anyone explain what exactly this means, this is a variable in catalog, I'm trying to understand what it means
please elaborate this so that i can understand from where and how it is getting filtered
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 01:04 AM - edited 04-03-2025 01:12 AM
Hi @suuriyas
Reference qualifiers in ServiceNow are filters that restrict the data that appears in reference fields. They help refine the choices available in a reference field by defining conditions that the referenced records must meet.
Highlighted part is syntax for Reference Qualifier - Advanced
javascript: new myScriptInclude.myNewFunction();
in your case x_kaoy_finops.Vendor_Utils() this is script include (x_kaoy_finops is application)
getCompanyCodeItem() this is function.
Return paremeter from above script include and function will be used as choices for reference
Thanks & Regards
Sejal Chavan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 01:11 AM
Hello @suuriyas
The x_kaoy_finops.Vendor_Utils() - this is a script include and getCompanyCodeItems() - this is the function in the above mentioned script include.
So exactly what this function is doing well can figure out. Just go to "Script Includes" in the left navigation and search with the name there (NOTE - COPY pASTE IT) , then within the script include - you will find search feature again - search with the function name there - again NOTE copy paste.
Then you will land in exact function and if you don't get what that function does, just share the screenshot here, and we will help figure out.
I hope this answers your query precisely.
Cc - @Dr Atul G- LNG
Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket.
Regards,
Shivalika
My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194
My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY QQ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2025 01:43 AM
Hello @suuriyas
A suggestion, We can now accept multiple solutions in servicenow community. So you accept all the others also who you found is accurate and is valuable 😄
Regards,
Shivalika
My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194
My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY QQ