<?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 copy incident field data to requested item field in ITSM forum</title>
    <link>https://www.servicenow.com/community/itsm-forum/how-to-copy-incident-field-data-to-requested-item-field/m-p/2727777#M506940</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to convert Incident to request using workspace ui while incident is getting converted to request it should copy few of the incident field like short description/ description to request, can someone please guide to copy field details? I am using below ui action code for create request ui action which is configured under ITSM Workspace application -&amp;nbsp;&lt;/P&gt;&lt;P&gt;function onClick() {&lt;BR /&gt;g_form.setValue("state","8");&lt;BR /&gt;g_form.setValue("close_code","Converted to Service Request");&lt;BR /&gt;g_form.setValue("close_notes","Converted to Service Request");&lt;BR /&gt;var result = g_form.submit('sysverb_ws_save');&lt;BR /&gt;if (!result) {&lt;BR /&gt;//failed form submission&lt;BR /&gt;return;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;result.then(function() {&lt;BR /&gt;var params ={};&lt;BR /&gt;params.sysparm_parent_table = "incident";&lt;BR /&gt;params.sysparm_parent_sys_id = g_form.getUniqueValue();&lt;BR /&gt;g_service_catalog.openCatalogItem('sc_cat_item', '-1', params);&lt;BR /&gt;});&lt;BR /&gt;}&lt;/P&gt;</description>
    <pubDate>Thu, 09 Nov 2023 09:16:04 GMT</pubDate>
    <dc:creator>Ashwini35</dc:creator>
    <dc:date>2023-11-09T09:16:04Z</dc:date>
    <item>
      <title>How to copy incident field data to requested item field</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-copy-incident-field-data-to-requested-item-field/m-p/2727777#M506940</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to convert Incident to request using workspace ui while incident is getting converted to request it should copy few of the incident field like short description/ description to request, can someone please guide to copy field details? I am using below ui action code for create request ui action which is configured under ITSM Workspace application -&amp;nbsp;&lt;/P&gt;&lt;P&gt;function onClick() {&lt;BR /&gt;g_form.setValue("state","8");&lt;BR /&gt;g_form.setValue("close_code","Converted to Service Request");&lt;BR /&gt;g_form.setValue("close_notes","Converted to Service Request");&lt;BR /&gt;var result = g_form.submit('sysverb_ws_save');&lt;BR /&gt;if (!result) {&lt;BR /&gt;//failed form submission&lt;BR /&gt;return;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;result.then(function() {&lt;BR /&gt;var params ={};&lt;BR /&gt;params.sysparm_parent_table = "incident";&lt;BR /&gt;params.sysparm_parent_sys_id = g_form.getUniqueValue();&lt;BR /&gt;g_service_catalog.openCatalogItem('sc_cat_item', '-1', params);&lt;BR /&gt;});&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 09:16:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-copy-incident-field-data-to-requested-item-field/m-p/2727777#M506940</guid>
      <dc:creator>Ashwini35</dc:creator>
      <dc:date>2023-11-09T09:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy incident field data to requested item field</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-copy-incident-field-data-to-requested-item-field/m-p/2727923#M506951</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/235694"&gt;@Ashwini35&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Greetings!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not agree with you, the reason is , it is not a best practice to convert Incident to request&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. The actual created date will be missing or not correct.&lt;/P&gt;
&lt;P&gt;2. You / team already loose some time as part of SLA.&lt;/P&gt;
&lt;P&gt;3. If you/ team will do, then it become habit and&amp;nbsp; over some time it will become overhead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To reduce this&lt;/P&gt;
&lt;P&gt;1. Educate to users&lt;/P&gt;
&lt;P&gt;2. Create KB and show what goes in Incident or in request.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 10:31:44 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-copy-incident-field-data-to-requested-item-field/m-p/2727923#M506951</guid>
      <dc:creator>Dr Atul G- LNG</dc:creator>
      <dc:date>2023-11-09T10:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy incident field data to requested item field</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-copy-incident-field-data-to-requested-item-field/m-p/2728029#M506967</link>
      <description>&lt;P&gt;Hi Atul,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;Actually this is not something I am customizing this feature to convert incident to a service request is available for us oob from servicenow. The above code which I shared this is available oob I just need to add an ability to copy incident details to requested Items so that user's manual work will get reduced.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 12:01:31 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-copy-incident-field-data-to-requested-item-field/m-p/2728029#M506967</guid>
      <dc:creator>Ashwini35</dc:creator>
      <dc:date>2023-11-09T12:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to copy incident field data to requested item field</title>
      <link>https://www.servicenow.com/community/itsm-forum/how-to-copy-incident-field-data-to-requested-item-field/m-p/2728060#M506973</link>
      <description>&lt;P&gt;Opps.. my bad&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Generally these fields get copied via property level. But how this work , i am not fully sure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check Properties or UI action script. ( to create new record from parent)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Incident properties&lt;/P&gt;
&lt;P&gt;Problem properties&lt;/P&gt;
&lt;P&gt;Change&amp;nbsp;&amp;nbsp;&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="AtulyaLNG_0-1699532462430.png" style="width: 400px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/303725iA7151E6F921F1A6A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AtulyaLNG_0-1699532462430.png" alt="AtulyaLNG_0-1699532462430.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 12:21:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/itsm-forum/how-to-copy-incident-field-data-to-requested-item-field/m-p/2728060#M506973</guid>
      <dc:creator>Dr Atul G- LNG</dc:creator>
      <dc:date>2023-11-09T12:21:18Z</dc:date>
    </item>
  </channel>
</rss>

