<?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 How to Map a Variable from Record Producer to a field on Incident form? in ITSM forum</title>
    <link>https://www.servicenow.com/community/itsm-forum/how-to-map-a-variable-from-record-producer-to-a-field-on/m-p/431153#M9252</link>
    <description>&lt;P&gt;HI All,&lt;/P&gt;
&lt;P&gt;I am having a variable as 'Users Affected' (Values - Widespread, Large,&amp;nbsp;Limited,&amp;nbsp;Localized) on Record Producer and I want to map this to 'Impact' field on Incident form.&lt;/P&gt;
&lt;P&gt;Widespread - Critical&lt;/P&gt;
&lt;P&gt;Large - High&lt;/P&gt;
&lt;P&gt;Limited - Medium&lt;/P&gt;
&lt;P&gt;Localized - Low&lt;/P&gt;
&lt;P&gt;Example - When User submit an Incident through record producer with Users Affected as 'Large', it should show as 'High' Impact on the Incident form.&lt;/P&gt;
&lt;P&gt;Please help me to achieve this requirement.&lt;/P&gt;
&lt;P&gt;- Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Feb 2019 06:11:50 GMT</pubDate>
    <dc:creator>User177031</dc:creator>
    <dc:date>2019-02-08T06:11:50Z</dc:date>
    <item>
      <title>How to Map a Variable from Record Producer to a field on Incident form?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-map-a-variable-from-record-producer-to-a-field-on/m-p/431153#M9252</link>
      <description>&lt;P&gt;HI All,&lt;/P&gt;
&lt;P&gt;I am having a variable as 'Users Affected' (Values - Widespread, Large,&amp;nbsp;Limited,&amp;nbsp;Localized) on Record Producer and I want to map this to 'Impact' field on Incident form.&lt;/P&gt;
&lt;P&gt;Widespread - Critical&lt;/P&gt;
&lt;P&gt;Large - High&lt;/P&gt;
&lt;P&gt;Limited - Medium&lt;/P&gt;
&lt;P&gt;Localized - Low&lt;/P&gt;
&lt;P&gt;Example - When User submit an Incident through record producer with Users Affected as 'Large', it should show as 'High' Impact on the Incident form.&lt;/P&gt;
&lt;P&gt;Please help me to achieve this requirement.&lt;/P&gt;
&lt;P&gt;- Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 06:11:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-map-a-variable-from-record-producer-to-a-field-on/m-p/431153#M9252</guid>
      <dc:creator>User177031</dc:creator>
      <dc:date>2019-02-08T06:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Map a Variable from Record Producer to a field on Incident form?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-map-a-variable-from-record-producer-to-a-field-on/m-p/431154#M9253</link>
      <description>&lt;P&gt;&lt;BR /&gt;If you click 'Map to field' on your Variable and ensure the Value for each Catalog Variable choice &lt;STRONG&gt;value&lt;/STRONG&gt; maps to the Incident choice &lt;STRONG&gt;value&lt;/STRONG&gt;, you should be golden.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 06:16:33 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-map-a-variable-from-record-producer-to-a-field-on/m-p/431154#M9253</guid>
      <dc:creator>paulmorris</dc:creator>
      <dc:date>2019-02-08T06:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Map a Variable from Record Producer to a field on Incident form?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-map-a-variable-from-record-producer-to-a-field-on/m-p/431155#M9254</link>
      <description>&lt;P&gt;Hi Paul,&lt;/P&gt;
&lt;P&gt;This variable is on the Variable set. I don't think we have 'Map to field'.&lt;/P&gt;
&lt;P&gt;- Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 06:24:25 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-map-a-variable-from-record-producer-to-a-field-on/m-p/431155#M9254</guid>
      <dc:creator>User177031</dc:creator>
      <dc:date>2019-02-08T06:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to Map a Variable from Record Producer to a field on Incident form?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-map-a-variable-from-record-producer-to-a-field-on/m-p/431156#M9255</link>
      <description>Write a script like this 
if(producer.user_affected=='large')
  current.impact ='high';</description>
      <pubDate>Fri, 08 Feb 2019 06:27:59 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-map-a-variable-from-record-producer-to-a-field-on/m-p/431156#M9255</guid>
      <dc:creator>senthilvaithees</dc:creator>
      <dc:date>2019-02-08T06:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to Map a Variable from Record Producer to a field on Incident form?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-map-a-variable-from-record-producer-to-a-field-on/m-p/431157#M9256</link>
      <description>&lt;P&gt;Hi Senthil,&lt;/P&gt;
&lt;P&gt;Where do I need to write? and what type of script is this (Client Script/UI Policy)?&lt;/P&gt;
&lt;P&gt;- Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 06:33:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-map-a-variable-from-record-producer-to-a-field-on/m-p/431157#M9256</guid>
      <dc:creator>User177031</dc:creator>
      <dc:date>2019-02-08T06:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Map a Variable from Record Producer to a field on Incident form?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-map-a-variable-from-record-producer-to-a-field-on/m-p/431158#M9257</link>
      <description>&lt;P&gt;Yeah, you'll need to write some code in the Record Producer Script as below.&lt;BR /&gt;&lt;BR /&gt;I would suggest still using the same choice&amp;nbsp;&lt;STRONG&gt;values &lt;/STRONG&gt;(as the number value of impact you want to map to)&amp;nbsp;so you can do it in one line of code in your Record Producer (What it will contain tab, script field). The script is&amp;nbsp;&lt;STRONG&gt;server side.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE class="language-javascript"&gt;&lt;CODE&gt;current.impact = producer.user_affected;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 06:36:06 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-map-a-variable-from-record-producer-to-a-field-on/m-p/431158#M9257</guid>
      <dc:creator>paulmorris</dc:creator>
      <dc:date>2019-02-08T06:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to Map a Variable from Record Producer to a field on Incident form?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-map-a-variable-from-record-producer-to-a-field-on/m-p/431159#M9258</link>
      <description>&lt;P&gt;Hi Sai,&lt;/P&gt;
&lt;P&gt;Write the script in the script area present under 'what it will contain'. This area is used to transfer the values of the field from record producer to incident record field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Refer this &lt;A href="https://docs.servicenow.com/bundle/london-it-service-management/page/product/service-catalog-management/task/t_DefRecProdInSCat.html" rel="nofollow"&gt;Link &lt;/A&gt;for further understanding&lt;/P&gt;</description>
      <pubDate>Fri, 08 Feb 2019 08:55:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-map-a-variable-from-record-producer-to-a-field-on/m-p/431159#M9258</guid>
      <dc:creator>senthilvaithees</dc:creator>
      <dc:date>2019-02-08T08:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to Map a Variable from Record Producer to a field on Incident form?</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-map-a-variable-from-record-producer-to-a-field-on/m-p/431160#M9259</link>
      <description>&lt;P&gt;Hi paul ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please help me for the same on Impact , urgency , priority Field on incident form .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we want to map Variable value(Record producer )&amp;nbsp; &amp;nbsp;into field ( Incident form ) .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 11:12:44 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-map-a-variable-from-record-producer-to-a-field-on/m-p/431160#M9259</guid>
      <dc:creator>Ankittanwar</dc:creator>
      <dc:date>2020-03-02T11:12:44Z</dc:date>
    </item>
  </channel>
</rss>

