This training provides our recruiters with tools and strategies to improve our diversity and inclusion efforts. In this ServiceNow Tutorial, Technical Consultant Zach Koch gives a demo on Reference Qualifiers in ServiceNow.Use reference qualifiers to create filters that restrict the data that is returned for a reference field. Filtering Reference Field Using Reference Qualifier in ServiceNow In this piece let us try to filter a Group catalog variable by Active, and filter the Member variable based on the the selected Group using Reference Qualifier. eference qualifiers are a powerful tool that every ServiceNow administrator and consultant should have in their tool belt. Does this solution of yours have the ability to be applied with a single CI in multiple groupings? Reference fields | Mastering ServiceNow - Second Edition Can this be used on a Service Catalog variable? Counting and finding real solutions of an equation. Request type Activate shows only one CI, since customer has only that device meeting the criteria. As for your specific reference qualifier, it might look something like thisfiltering with a dependency on the 'company' field and also filtering for specific types. The post Certified Diversity Recruiters appeared first on Crossfuze. They still require that initial setup, where you set up the script include and the function, but they're easier to reuse if you have multiple variables which you wish to use the exact same advanced reference qualifier. Open Authorization code flow popup, get token and use it on same button click, getDispalyValue('field_name') is not working when in a UI Macro, ServiceNow ui-component deploy not working, Where developers & technologists share private knowledge with coworkers, Reach developers & technologists worldwide, Advanced Reference qualifier on field not working as expected. How to Make a Black glass pass light through it? There's no dynamic filters on this table, so if we want to use that user groups dynamic filter that we created earlier, we're going to need to go to the sys_user_group table. Again, the main difference between an advanced reference qualifier and a dynamic one is that after you set up a dynamic reference qualifier on the dynamic filters options table, you can reuse that anytime you select dynamic reference qualifier, as long as your function and your script include take into account whatever item you're going to use it on, or whatever variables it needs. Keep it up. Switch the variable type over to a list collector. I've updated the article. To subscribe to this RSS feed, copy and paste this URL into your RSS reader. Designed to define server-side JavaScript classes and functions. Which of the following statements are true when a new table is created by extending another table? In your reference qualifier, youll select simple. company_name, current. Our Recruiting team is 100% certified by the AIRS Certified Diversity and Inclusion Recruiter course. For additional information on how to use condition builders, see Condition builder. Use the code below: var filter = g_list.get ('variable_name'); filter.setQuery ('active=true') If there is a reference qualifier set . A reference qualifier is a tool that helps you filter out data that's returned by reference field, list collector, or anything that goes and grabs info from another table and brings it back to your reference field. Looking at the next variable, it's pretty much the opposite. Steps to modify reference qualifier via catalog client script: On the main catalog item create onLoad/onChange catalog client scripts. Contact sales: https://www.glidefast.com/contact Learn more: https://www.glidefast.com Subscribe to our channel: https://www.youtube.com/channel/UCZNM56LyLhmba73FtDsyaAw Discover more insider knowledge: https://www.glidefast.com/blog Follow us on social media! LinkedIn: https://www.linkedin.com/company/glidefast Twitter: https://www.twitter.com/glidefast Instagram: https://www.instagram.com/glidefast Facebook: https://www.facebook.com/glidefast While we will be using the Advanced type of Reference Qualifier in this piece, there are other types of it: Basic and Dynamic. You did such an amazing job. You can imagine if you had to do this constantly for 100 different CIs how much of a pain that could become :). Ive updated the article above accordingly. There are many cases where you may want more information than that. Transform map scripts in a reference qualifier of the the the class. Notice that both functions return the filter we need for our Group and Member catalog variables. var ci = new GlideRecord(cmdb_ci_computer); ci.addEncodedQuery(company= + affiliate + ^install_status=3^u_in_activation=false); ci.addEncodedQuery(company= + affiliate + ^install_status=1^u_in_deactivation=false). servicenow - Advanced Reference qualifier on field not working as Logout or Cancel Errors with ServiceNow SAML Configuring ServiceNow for SAML 2.0 Inserting XML into ServiceNow's SOAPMessage Object Leave a reply Your email address will not be published. This means that you can just as well populate or modify attributes using this field, as you can see below: So the Reference auto completerproperty is here called ref_auto_completer. "Reference qualifiers are used to restrict the data that is selectable for a reference field, using either the auto complete support or the magnifying glass lookup icon. These types of questions are probably better suited to the ServiceNow community site. Use tab to navigate through the menu items. I've updated the article. Reference qualifier on reference field (e.g "Assignment group" field) on each module tables like Incident, Change etc.. refers to Task table as it is a reference field. The other piece is obviously the Script Include. Ref: https://www.packtpub.com/mapt/book/Networking%20and%20Servers/9781782174219/02/ch02lvl1sec26/Scripting%20Reference%20Qualifiers. Here we use a Service Catalog variable field to focus in on advanced reference qualifiers in ServiceNow. They allow them to dynamically filter the options within a. AI in ServiceNow with Justin Meadows | What does it mean? You did such an amazing job. which is a selection. In order to filter items in any reference field, you need to use a reference qualifier. The field on which the filter is being applied is on table Incident and is caller_id. Where this varies is that you're not going to use that condition builder; you're actually going to call a script include in a function (reference video at 3:44). Bulloch county schools staff directory //getUserGroupsAsArray(), just grabs all user's groups and puts them into an array, //---------------------------------------------------, //! The first field will bring back any user who's active and the email contains test.