<?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:  Client Script on Catalog Task table to access Variables in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/client-script-on-catalog-task-table-to-access-variables/m-p/1567549#M224475</link>
    <description>&lt;P&gt;Why don't you use UI policy on the catalog item itself for this and mark true on &lt;STRONG&gt;Applies on catalog task&lt;/STRONG&gt; only and then use script action to update field values.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Aug 2022 19:02:33 GMT</pubDate>
    <dc:creator>Aman Kumar S</dc:creator>
    <dc:date>2022-08-03T19:02:33Z</dc:date>
    <item>
      <title>Client Script on Catalog Task table to access Variables</title>
      <link>https://www.servicenow.com/community/developer-forum/client-script-on-catalog-task-table-to-access-variables/m-p/1567548#M224474</link>
      <description>&lt;P&gt;I was going to create a Client Script on the sc_task table, an onChange script, but I notice that I can't access the name of the variable from the Field name. It just says Variables, and I need the name of the variable which would be SAP Order Number, then right a script that if it changes, the value would be copied to another field.&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/193596i5AF565C65F608199/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;This is the variable, I know that in the Workflow we normally do something like current.variables.sap_order_name, but not sure in this case that I need to write an onChange script.&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/193588i998A27091D8AB560/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;I really appreciate any help.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 18:55:01 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/client-script-on-catalog-task-table-to-access-variables/m-p/1567548#M224474</guid>
      <dc:creator>Diorella Angulo</dc:creator>
      <dc:date>2022-08-03T18:55:01Z</dc:date>
    </item>
    <item>
      <title>Re:  Client Script on Catalog Task table to access Variables</title>
      <link>https://www.servicenow.com/community/developer-forum/client-script-on-catalog-task-table-to-access-variables/m-p/1567549#M224475</link>
      <description>&lt;P&gt;Why don't you use UI policy on the catalog item itself for this and mark true on &lt;STRONG&gt;Applies on catalog task&lt;/STRONG&gt; only and then use script action to update field values.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 19:02:33 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/client-script-on-catalog-task-table-to-access-variables/m-p/1567549#M224475</guid>
      <dc:creator>Aman Kumar S</dc:creator>
      <dc:date>2022-08-03T19:02:33Z</dc:date>
    </item>
    <item>
      <title>Re:  Client Script on Catalog Task table to access Variables</title>
      <link>https://www.servicenow.com/community/developer-forum/client-script-on-catalog-task-table-to-access-variables/m-p/1567550#M224476</link>
      <description>&lt;P&gt;&lt;SN-MENTION class="sn-mention" table="live_profile" sysid="8178cf92dbac98105ed4a851ca9619fb"&gt;@Diorella Angulo&lt;/SN-MENTION&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Feel free to mark correct, If I answered your query.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Will be helpful for future visitors looking for similar questions &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Aug 2022 14:20:53 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/client-script-on-catalog-task-table-to-access-variables/m-p/1567550#M224476</guid>
      <dc:creator>Aman Kumar S</dc:creator>
      <dc:date>2022-08-20T14:20:53Z</dc:date>
    </item>
    <item>
      <title>Re:  Client Script on Catalog Task table to access Variables</title>
      <link>https://www.servicenow.com/community/developer-forum/client-script-on-catalog-task-table-to-access-variables/m-p/1567551#M224477</link>
      <description>&lt;P&gt;Hi &lt;SN-MENTION class="sn-mention" table="live_profile" sysid="8178cf92dbac98105ed4a851ca9619fb"&gt;@Diorella Angulo&lt;/SN-MENTION&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is your issue resolved?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;Feel free to mark correct, if your issue has been resolved, so it ends up in solved queue.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Will be helpful for others looking for the similar query.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 22:27:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/client-script-on-catalog-task-table-to-access-variables/m-p/1567551#M224477</guid>
      <dc:creator>Aman Kumar S</dc:creator>
      <dc:date>2022-08-29T22:27:34Z</dc:date>
    </item>
  </channel>
</rss>

