<?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>topic Re: Field Trigger Script / Broswer Caching Issue? in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/field-trigger-script-broswer-caching-issue/m-p/469587#M606</link>
    <description>&lt;P&gt;Disregard, my re-open trigger script was set to yes for run after modification. That seems to have fixed it.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Mar 2022 20:18:54 GMT</pubDate>
    <dc:creator>jboyd98</dc:creator>
    <dc:date>2022-03-01T20:18:54Z</dc:date>
    <item>
      <title>Field Trigger Script / Broswer Caching Issue?</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/field-trigger-script-broswer-caching-issue/m-p/469584#M605</link>
      <description>&lt;P&gt;I have a field trigger script on dbot status changing; essentially updating a custom field to nothing if the an incident is re-opened.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;if field=="dbotStatus" and old=="Closed" and new=="Active" and incidentType=="Azure Sentinel":&lt;BR /&gt;demisto.executeCommand("setIncident", {'customFields': {"sentinelclosereason": ""}})&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems to work as the previous "Sentinel Close Reason" is empty after it runs.&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="jboyd98_0-1646165018375.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/39403i077D9FA862DC77D7/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jboyd98_0-1646165018375.png" alt="jboyd98_0-1646165018375.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now when a user closes a case, they are forced to re-choose the "Sentinel Close Reason".&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jboyd98_1-1646165158523.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/39404i7CEB12463219CF9E/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jboyd98_1-1646165158523.png" alt="jboyd98_1-1646165158523.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;--------&lt;BR /&gt;The objective is being met above, however there's a field trigger script tied to "Sentinel Close Reason"&lt;/P&gt;&lt;P&gt;If the user happens to pick the previously set reason, even though they are forced to choose from the drop down it doesn't recognize it as a field change.&amp;nbsp; Only if it's different from the previous sentinel version.&lt;BR /&gt;&lt;BR /&gt;I noticed that even after this, where the Sentinel Close Reason value is blank after a re-open:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jboyd98_0-1646165018375.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/39403i077D9FA862DC77D7/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jboyd98_0-1646165018375.png" alt="jboyd98_0-1646165018375.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I go to my browser and hit the "refresh" button, i can pull back the previous "Sentinel Close Reason"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jboyd98_2-1646165399027.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/39405i29730EB298F338BB/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="jboyd98_2-1646165399027.png" alt="jboyd98_2-1646165399027.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its like it's not being saved in the database, even though I can see an empty value in the context data after a re-open.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts are appreciated,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Boyd&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 20:10:55 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/field-trigger-script-broswer-caching-issue/m-p/469584#M605</guid>
      <dc:creator>jboyd98</dc:creator>
      <dc:date>2022-03-01T20:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Field Trigger Script / Broswer Caching Issue?</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/field-trigger-script-broswer-caching-issue/m-p/469587#M606</link>
      <description>&lt;P&gt;Disregard, my re-open trigger script was set to yes for run after modification. That seems to have fixed it.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 20:18:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/field-trigger-script-broswer-caching-issue/m-p/469587#M606</guid>
      <dc:creator>jboyd98</dc:creator>
      <dc:date>2022-03-01T20:18:54Z</dc:date>
    </item>
  </channel>
</rss>

