<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Calling a Record Producer Variable in Advanced Reference Qualifier'sScript Include Function in Guided Learning: ITSM fundamentals</title>
    <link>https://www.servicenow.com/community/guided-learning-itsm/calling-a-record-producer-variable-in-advanced-reference/m-p/3494172#M1528</link>
    <description>&lt;P&gt;I have a variable (field_1) in a Record Producer, which is a reference field. In this Record Producer, I have a variable Set and in that I have a variable field_2, which is a drop-down. I want to put Advanced Reference Qualifier, and when calling the script include I want to pass the sys_id of the value in field_1 as a parameter of the function of my script include. I tried these approaches so far:&lt;BR /&gt;1. javascript&amp;amp;colon; new ScriptIncludeName().function_name('current.variables.field_1');&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;javascript&amp;amp;colon; new ScriptIncludeName().function_name('producer.field_1');&lt;BR /&gt;&lt;BR /&gt;My Script Include is working fine, the only blocker is I am not able to pass field value in the function parameter, which is further used in the script.&lt;BR /&gt;&lt;BR /&gt;Any help would be really appreciated.&lt;/P&gt;</description>
    <pubDate>Sun, 22 Feb 2026 16:51:44 GMT</pubDate>
    <dc:creator>brogaming70</dc:creator>
    <dc:date>2026-02-22T16:51:44Z</dc:date>
    <item>
      <title>Calling a Record Producer Variable in Advanced Reference Qualifier'sScript Include Function</title>
      <link>https://www.servicenow.com/community/guided-learning-itsm/calling-a-record-producer-variable-in-advanced-reference/m-p/3494172#M1528</link>
      <description>&lt;P&gt;I have a variable (field_1) in a Record Producer, which is a reference field. In this Record Producer, I have a variable Set and in that I have a variable field_2, which is a drop-down. I want to put Advanced Reference Qualifier, and when calling the script include I want to pass the sys_id of the value in field_1 as a parameter of the function of my script include. I tried these approaches so far:&lt;BR /&gt;1. javascript&amp;amp;colon; new ScriptIncludeName().function_name('current.variables.field_1');&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;javascript&amp;amp;colon; new ScriptIncludeName().function_name('producer.field_1');&lt;BR /&gt;&lt;BR /&gt;My Script Include is working fine, the only blocker is I am not able to pass field value in the function parameter, which is further used in the script.&lt;BR /&gt;&lt;BR /&gt;Any help would be really appreciated.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Feb 2026 16:51:44 GMT</pubDate>
      <guid>https://www.servicenow.com/community/guided-learning-itsm/calling-a-record-producer-variable-in-advanced-reference/m-p/3494172#M1528</guid>
      <dc:creator>brogaming70</dc:creator>
      <dc:date>2026-02-22T16:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calling a Record Producer Variable in Advanced Reference Qualifier'sScript Include Function</title>
      <link>https://www.servicenow.com/community/guided-learning-itsm/calling-a-record-producer-variable-in-advanced-reference/m-p/3495693#M1529</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/1062514"&gt;@brogaming70&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;by looking into your&amp;nbsp;&lt;SPAN&gt;Advanced Reference Qualifier ;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;'current.variables.field_1' : You passed the string "current.variables.field_1" instead of the value so try passing value with quotes&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;javascript&amp;amp;colon; new ScriptIncludeName().function_name(current.variables.field_1);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2026 11:57:16 GMT</pubDate>
      <guid>https://www.servicenow.com/community/guided-learning-itsm/calling-a-record-producer-variable-in-advanced-reference/m-p/3495693#M1529</guid>
      <dc:creator>Bhavya11</dc:creator>
      <dc:date>2026-02-24T11:57:16Z</dc:date>
    </item>
  </channel>
</rss>

