<?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 Can you update a record without updating its system fields(like sys_updated_by, sys_updated_on)? in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/can-you-update-a-record-without-updating-its-system-fields-like/m-p/2001797#M658723</link>
    <description>&lt;P&gt;Thank You !&lt;/P&gt;</description>
    <pubDate>Mon, 05 Mar 2018 10:34:48 GMT</pubDate>
    <dc:creator>Vivek Verma</dc:creator>
    <dc:date>2018-03-05T10:34:48Z</dc:date>
    <item>
      <title>Can you update a record without updating its system fields(like sys_updated_by, sys_updated_on)?</title>
      <link>https://www.servicenow.com/community/developer-forum/can-you-update-a-record-without-updating-its-system-fields-like/m-p/2001797#M658723</link>
      <description>&lt;P&gt;Thank You !&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 10:34:48 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/can-you-update-a-record-without-updating-its-system-fields-like/m-p/2001797#M658723</guid>
      <dc:creator>Vivek Verma</dc:creator>
      <dc:date>2018-03-05T10:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can you update a record without updating its system fields(like sys_updated_by, sys_updated_on)?</title>
      <link>https://www.servicenow.com/community/developer-forum/can-you-update-a-record-without-updating-its-system-fields-like/m-p/2001798#M658724</link>
      <description>&lt;P&gt;HI Soup&lt;/P&gt;
&lt;P&gt;Please check the below link it may help you&lt;/P&gt;
&lt;P&gt;https://community.servicenow.com/community?id=community_question&amp;amp;sys_id=fafac7addb5cdbc01dcaf3231f96195d&lt;/P&gt;
&lt;P&gt;https://www.servicenowguru.com/scripting/gliderecord-query-cheat-sheet/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, please mark the response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list. Thank you&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.servicenow.com/community?id=community_article&amp;amp;sys_id=7f1c2e21dbd0dbc01dcaf3231f9619c3" rel="nofollow"&gt;How To Mark Answers Correct From Community Inbox&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 10:45:40 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/can-you-update-a-record-without-updating-its-system-fields-like/m-p/2001798#M658724</guid>
      <dc:creator>Chandu Telu</dc:creator>
      <dc:date>2018-03-05T10:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can you update a record without updating its system fields(like sys_updated_by, sys_updated_on)?</title>
      <link>https://www.servicenow.com/community/developer-forum/can-you-update-a-record-without-updating-its-system-fields-like/m-p/2001799#M658725</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have a look at :&lt;/P&gt;
&lt;P&gt;- https://community.servicenow.com/community?id=community_question&amp;amp;sys_id=fafac7addb5cdbc01dcaf3231f96195d&lt;/P&gt;
&lt;P&gt;- https://www.servicenowguru.com/scripting/gliderecord-query-cheat-sheet/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Dravvy&lt;/P&gt;
&lt;P&gt;Please Hit Helpful or Correct depending on the impact of the response&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 10:46:26 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/can-you-update-a-record-without-updating-its-system-fields-like/m-p/2001799#M658725</guid>
      <dc:creator>dravvyramlochun</dc:creator>
      <dc:date>2018-03-05T10:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can you update a record without updating its system fields(like sys_updated_by, sys_updated_on)?</title>
      <link>https://www.servicenow.com/community/developer-forum/can-you-update-a-record-without-updating-its-system-fields-like/m-p/2001800#M658726</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="important-title-blue"&gt;autoSysFields&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;‘autoSysFields’ is used to disable the update of ‘sys’ fields (Updated, Created, etc.) for a particular update. This really is only used in special situations. The primary example is when you need to perform a mass update of records to true up some of the data but want to retain the original update timestamps, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="codecolorer-container javascript geshi"&gt;
&lt;DIV class="javascript codecolorer"&gt;//Change the category of all 'software' incidents to 'hardware' without updating sys fields&lt;BR /&gt;var&amp;nbsp;gr&amp;nbsp;=&amp;nbsp;new&amp;nbsp;GlideRecord('incident');&lt;BR /&gt;gr.addQuery('category',&amp;nbsp;'software');&lt;BR /&gt;gr.query();&lt;BR /&gt;while(gr.next()){&lt;BR /&gt;&amp;nbsp; &amp;nbsp;gr.category&amp;nbsp;=&amp;nbsp;'hardware';&lt;BR /&gt;&amp;nbsp; &amp;nbsp;gr.autoSysFields(false);&lt;BR /&gt;&amp;nbsp; &amp;nbsp;gr.update();&lt;BR /&gt;}&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 22 Apr 2018 06:23:45 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/can-you-update-a-record-without-updating-its-system-fields-like/m-p/2001800#M658726</guid>
      <dc:creator>Vivek Verma</dc:creator>
      <dc:date>2018-04-22T06:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can you update a record without updating its system fields(like sys_updated_by, sys_updated_on)?</title>
      <link>https://www.servicenow.com/community/developer-forum/can-you-update-a-record-without-updating-its-system-fields-like/m-p/2001801#M658727</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;autoSysFields(false); and setWorkflow(false);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This will do your work.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ashutosh Munot&lt;/P&gt;</description>
      <pubDate>Sun, 22 Apr 2018 07:54:25 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/can-you-update-a-record-without-updating-its-system-fields-like/m-p/2001801#M658727</guid>
      <dc:creator>Ashutosh Munot1</dc:creator>
      <dc:date>2018-04-22T07:54:25Z</dc:date>
    </item>
  </channel>
</rss>

