<?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 Re: auto populate values based on another field value in ServiceNow AI Platform forum</title>
    <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/1051268#M7657</link>
    <description>&lt;P&gt;Hi Harsh,&lt;/P&gt;
&lt;P&gt;I need to know why variable caller got created?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 May 2019 08:07:42 GMT</pubDate>
    <dc:creator>Sudhanva</dc:creator>
    <dc:date>2019-05-02T08:07:42Z</dc:date>
    <item>
      <title>auto populate values based on another field value</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/1051262#M7651</link>
      <description>&lt;P&gt;I have a field which is referenced to "&lt;STRONG&gt;sys_user&lt;/STRONG&gt;" table . If i select a value from user table then value of some other fields populate automatically . Below are the fields &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/109793iB1C02348ED680C40/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do i need to Business rule or client script to archive this ? How&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 03:42:23 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/1051262#M7651</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2017-09-13T03:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: auto populate values based on another field value</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/1051263#M7652</link>
      <description>&lt;P&gt;Hi Dinesh,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;You can achieve this using scripting. You can use dot walking also.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Dot Walking: &lt;A href="http://wiki.servicenow.com/index.php?title=Dot-Walking#gsc.tab=0" title="http://wiki.servicenow.com/index.php?title=Dot-Walking#gsc.tab=0"&gt;Dot-Walking - ServiceNow Wiki&lt;/A&gt; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Prasad &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Sep 2017 04:02:39 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/1051263#M7652</guid>
      <dc:creator>prasadh</dc:creator>
      <dc:date>2017-09-13T04:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: auto populate values based on another field value</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/1051264#M7653</link>
      <description>&lt;P&gt;Hi Dinesh,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I would recommend to use OnChange client script to auto populate these values on the basis of requested for field.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A title="ki.servicenow.com/index.php?title=Client_Scripts#onChange.28.29_Scripts" href="http://wiki.servicenow.com/index.php?title=Client_Scripts#onChange.28.29_Scripts"&gt;http://wiki.servicenow.com/index.php?title=Client_Scripts#onChange.28.29_Scripts&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A href="http://wiki.servicenow.com/index.php?title=GlideForm_(g_form)#setValue" title="http://wiki.servicenow.com/index.php?title=GlideForm_(g_form)#setValue"&gt;http://wiki.servicenow.com/index.php?title=GlideForm_(g_form)#setValue&lt;/A&gt; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Take example of OOB client script '(BP) Set Location to User' that sets location on the basis of caller:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A href="https://your_instance.service-now.com/sys_script_client.do?sys_id=5e524025c0a80166004d1761e85e2058" title="https://your_instance.service-now.com/sys_script_client.do?sys_id=5e524025c0a80166004d1761e85e2058"&gt;https://your_instance.service-now.com/sys_script_client.do?sys_id=5e524025c0a80166004d1761e85e2058&lt;/A&gt; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Shruti&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;If the reply was informational, please like, mark as helpful or mark as correct!&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Sep 2017 04:55:12 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/1051264#M7653</guid>
      <dc:creator>shrutityagi</dc:creator>
      <dc:date>2017-09-13T04:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: auto populate values based on another field value</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/1051265#M7654</link>
      <description>&lt;P&gt;Hi Dinesh,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Please try with script below.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;function onChange(control, oldValue, newValue, isLoading) {&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; var caller = g_form.getReference('caller_id', doAlert); // doAlert is our callback function&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;function doAlert(caller) { //reference is passed into callback as first arguments&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; g_form.setValue('email',caller.email);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; g_form.setValue('phone',caller.mobile_phone);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; g_form.setValue('phone',caller.location);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;}&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Please change the variable name that you have exactly on your catalog form.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Sep 2017 05:02:38 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/1051265#M7654</guid>
      <dc:creator>hvrdhn88</dc:creator>
      <dc:date>2017-09-13T05:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: auto populate values based on another field value</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/1051266#M7655</link>
      <description>&lt;P&gt;Hi Dinesh,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;please check with below updated script i tested and it's working.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/109795i7AF0536542D7A428/image-size/large?v=v2&amp;amp;px=999" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Sep 2017 05:37:19 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/1051266#M7655</guid>
      <dc:creator>hvrdhn88</dc:creator>
      <dc:date>2017-09-13T05:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: auto populate values based on another field value</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/1051267#M7656</link>
      <description>&lt;P&gt;Hi Harshvardhan , Thanks mate , its working . Cheers Regards, Dinesh &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Sep 2017 13:28:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/1051267#M7656</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2017-09-13T13:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: auto populate values based on another field value</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/1051268#M7657</link>
      <description>&lt;P&gt;Hi Harsh,&lt;/P&gt;
&lt;P&gt;I need to know why variable caller got created?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2019 08:07:42 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/1051268#M7657</guid>
      <dc:creator>Sudhanva</dc:creator>
      <dc:date>2019-05-02T08:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: auto populate values based on another field value</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/2422021#M187288</link>
      <description>&lt;P&gt;Hi Harsh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try this, i just get the sys ID&amp;nbsp;3beaa790dbf9649045c73ce3399619c5 instead of the value &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;what am I missing?&lt;/P&gt;&lt;P&gt;my problem statement is -&amp;nbsp;&lt;/P&gt;&lt;P&gt;update mailbox owner (we have 4 different mailboxes )&lt;/P&gt;&lt;P&gt;(Based on a choice for these mailboxes, i display the selected mailbox)&lt;/P&gt;&lt;P&gt;The user should be allowed to select any active mailbox from any mailbox collection.&lt;/P&gt;&lt;P&gt;The previous user should be should on the screen when a mailbox is selected ("Current Owner" field, protected).&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 20:16:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/2422021#M187288</guid>
      <dc:creator>Nitin Baijal</dc:creator>
      <dc:date>2022-12-20T20:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: auto populate values based on another field value</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/2422160#M187297</link>
      <description>&lt;P&gt;I think i found the answer by changing the variable type to reference from single text and mapping it with the table you want the value of. In my case it was user table.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 02:42:24 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/2422160#M187297</guid>
      <dc:creator>Nitin Baijal</dc:creator>
      <dc:date>2022-12-21T02:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: auto populate values based on another field value</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/2446551#M187722</link>
      <description>&lt;P&gt;Above script is working.. Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 11:50:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/2446551#M187722</guid>
      <dc:creator>jyoti5</dc:creator>
      <dc:date>2023-01-18T11:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: auto populate values based on another field value</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/2728935#M192237</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/112287"&gt;@hvrdhn88&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I have one requirement, where I have 'LIST' field and i want to populate the values of parent field's irm domain into the new record of irm domain. and also say while creating a new record i have already field the irm domain and later when i fill parent field it should populate the parent's irm doamin keeping the old once as well (old value + populated value) ,&lt;BR /&gt;How can i do this can u help me with this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NAIDILES_0-1699601839107.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/303994i5FE782D71B5D1BC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NAIDILES_0-1699601839107.png" alt="NAIDILES_0-1699601839107.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 07:40:01 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/auto-populate-values-based-on-another-field-value/m-p/2728935#M192237</guid>
      <dc:creator>NAIDILE S</dc:creator>
      <dc:date>2023-11-10T07:40:01Z</dc:date>
    </item>
  </channel>
</rss>

