<?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 Mapping Record producer field to HR case form field in Community Central forum</title>
    <link>https://www.servicenow.com/community/community-central-forum/mapping-record-producer-field-to-hr-case-form-field/m-p/3036038#M801</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;On a record producer I have tried to map a Lookup select box with category field on a Hr Service Case form using record producer script.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;I have used below script but instead of mapping with the choice already defined, it is creating the new choice in category field. Please help me on this?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Record producer (filed):- tool_provision&amp;nbsp; (value comes in "u_variable option" table)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;HR case form (field) :- u_hr_service_category&amp;nbsp; (it is a Custom Filed and Value Comes in sys_choice table)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Script :-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; cat=producer.tool_provision.toString();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;current.u_hr_service_category =cat;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;note-Without Field map we need complete this functionality (using record producer script)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 04 Sep 2024 15:29:53 GMT</pubDate>
    <dc:creator>Community Alums</dc:creator>
    <dc:date>2024-09-04T15:29:53Z</dc:date>
    <item>
      <title>Mapping Record producer field to HR case form field</title>
      <link>https://www.servicenow.com/community/community-central-forum/mapping-record-producer-field-to-hr-case-form-field/m-p/3036038#M801</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;On a record producer I have tried to map a Lookup select box with category field on a Hr Service Case form using record producer script.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;I have used below script but instead of mapping with the choice already defined, it is creating the new choice in category field. Please help me on this?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Record producer (filed):- tool_provision&amp;nbsp; (value comes in "u_variable option" table)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;HR case form (field) :- u_hr_service_category&amp;nbsp; (it is a Custom Filed and Value Comes in sys_choice table)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Script :-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; cat=producer.tool_provision.toString();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;current.u_hr_service_category =cat;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;note-Without Field map we need complete this functionality (using record producer script)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 04 Sep 2024 15:29:53 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/mapping-record-producer-field-to-hr-case-form-field/m-p/3036038#M801</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2024-09-04T15:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Record producer field to HR case form field</title>
      <link>https://www.servicenow.com/community/community-central-forum/mapping-record-producer-field-to-hr-case-form-field/m-p/3036177#M803</link>
      <description>&lt;P&gt;@Community Alums&amp;nbsp;Can you share the type specification screenshot of your look up select box.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also please confirm if&amp;nbsp;&lt;SPAN&gt;u_hr_service_category is a reference field or a choice field, and if&amp;nbsp;tool_provision returns a sys_id or a choice value.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 17:24:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/mapping-record-producer-field-to-hr-case-form-field/m-p/3036177#M803</guid>
      <dc:creator>Sandeep Rajput</dc:creator>
      <dc:date>2024-09-04T17:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Record producer field to HR case form field</title>
      <link>https://www.servicenow.com/community/community-central-forum/mapping-record-producer-field-to-hr-case-form-field/m-p/3036189#M804</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/145583"&gt;@Sandeep Rajput&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;u_hr_service_category is a choice field and&amp;nbsp;&amp;nbsp;tool_provision returns a choice value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cat.png" style="width: 546px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/383600i622BB445E9299C47/image-dimensions/546x236/is-moderation-mode/true?v=v2" width="546" height="236" role="button" title="cat.png" alt="cat.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tp.png" style="width: 560px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/383601iE4B29B947171E4B1/image-dimensions/560x290/is-moderation-mode/true?v=v2" width="560" height="290" role="button" title="tp.png" alt="tp.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 17:45:07 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/mapping-record-producer-field-to-hr-case-form-field/m-p/3036189#M804</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2024-09-04T17:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Record producer field to HR case form field</title>
      <link>https://www.servicenow.com/community/community-central-forum/mapping-record-producer-field-to-hr-case-form-field/m-p/3036264#M805</link>
      <description>&lt;P&gt;@Community Alums&amp;nbsp;HR Service Category is a dependent field. Could this be the reason why a new choice is getting created?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 18:51:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/mapping-record-producer-field-to-hr-case-form-field/m-p/3036264#M805</guid>
      <dc:creator>Sandeep Rajput</dc:creator>
      <dc:date>2024-09-04T18:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Record producer field to HR case form field</title>
      <link>https://www.servicenow.com/community/community-central-forum/mapping-record-producer-field-to-hr-case-form-field/m-p/3036461#M810</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/145583"&gt;@Sandeep Rajput&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to overcome this Issue ?&lt;/P&gt;&lt;P&gt;is there any script for mapping the correct Value ?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 04:14:12 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/mapping-record-producer-field-to-hr-case-form-field/m-p/3036461#M810</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2024-09-05T04:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Record producer field to HR case form field</title>
      <link>https://www.servicenow.com/community/community-central-forum/mapping-record-producer-field-to-hr-case-form-field/m-p/3036464#M811</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Community Alums&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please refer to the threads:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://concurrency.com/blog/servicenow-dependent-variables-on-record-producer-in-service-catalog/" target="_blank"&gt;https://concurrency.com/blog/servicenow-dependent-variables-on-record-producer-in-service-catalog/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.linkedin.com/posts/s%C3%A9bastien-martin-ba580622_servicenow-servicecatalog-selectboxdependency-activity-6963043691951271936-vDRv" target="_blank"&gt;https://www.linkedin.com/posts/s%C3%A9bastien-martin-ba580622_servicenow-servicecatalog-selectboxdependency-activity-6963043691951271936-vDRv&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and this video :&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=4ur_fdsxsLs" target="_blank"&gt;https://www.youtube.com/watch?v=4ur_fdsxsLs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 04:26:10 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/mapping-record-producer-field-to-hr-case-form-field/m-p/3036464#M811</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2024-09-05T04:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Record producer field to HR case form field</title>
      <link>https://www.servicenow.com/community/community-central-forum/mapping-record-producer-field-to-hr-case-form-field/m-p/3036466#M812</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Community Alums&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;without filed map means by using Record producer script we need to complete this functionality&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 04:30:56 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/mapping-record-producer-field-to-hr-case-form-field/m-p/3036466#M812</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2024-09-05T04:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping Record producer field to HR case form field</title>
      <link>https://www.servicenow.com/community/community-central-forum/mapping-record-producer-field-to-hr-case-form-field/m-p/3036469#M813</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Community Alums&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Have you looked at the links i shared? worth checking&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 04:34:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/mapping-record-producer-field-to-hr-case-form-field/m-p/3036469#M813</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2024-09-05T04:34:50Z</dc:date>
    </item>
  </channel>
</rss>

