<?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: Setting an incident field and getting the new value of it in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/setting-an-incident-field-and-getting-the-new-value-of-it/m-p/520990#M1384</link>
    <description>&lt;P&gt;I think the wait for condition script is getting executed before the closure of incident.&lt;/P&gt;
&lt;P&gt;Let's try one thing , please remove this activity and instead of this use timer activity and paste the script in timer activity and try&lt;/P&gt;
&lt;P&gt;Please accept the solution if it helped you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;A href="https://www.mygiftcardsite.ltd/" target="_self"&gt;&lt;FONT color="#FFFFFF"&gt;check mygiftcardsite balance&lt;/FONT&gt;&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 12 Nov 2022 04:41:31 GMT</pubDate>
    <dc:creator>Swann55s</dc:creator>
    <dc:date>2022-11-12T04:41:31Z</dc:date>
    <item>
      <title>Setting an incident field and getting the new value of it</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/setting-an-incident-field-and-getting-the-new-value-of-it/m-p/520986#M1383</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I noticed that automations cannot set a new value and fetch it from the same incident field . Why is that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;demisto.executeCommand('setIncident', {'details': 'mycustomvalue'})&lt;BR /&gt;return_results(demisto.get(demisto.incident(), 'details'))&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="EnesOzdemir_0-1668155073135.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/45279i39B79B898365C811/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="EnesOzdemir_0-1668155073135.png" alt="EnesOzdemir_0-1668155073135.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 08:26:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/setting-an-incident-field-and-getting-the-new-value-of-it/m-p/520986#M1383</guid>
      <dc:creator>EnesOzdemir</dc:creator>
      <dc:date>2022-11-11T08:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Setting an incident field and getting the new value of it</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/setting-an-incident-field-and-getting-the-new-value-of-it/m-p/520990#M1384</link>
      <description>&lt;P&gt;I think the wait for condition script is getting executed before the closure of incident.&lt;/P&gt;
&lt;P&gt;Let's try one thing , please remove this activity and instead of this use timer activity and paste the script in timer activity and try&lt;/P&gt;
&lt;P&gt;Please accept the solution if it helped you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;&lt;A href="https://www.mygiftcardsite.ltd/" target="_self"&gt;&lt;FONT color="#FFFFFF"&gt;check mygiftcardsite balance&lt;/FONT&gt;&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Nov 2022 04:41:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/setting-an-incident-field-and-getting-the-new-value-of-it/m-p/520990#M1384</guid>
      <dc:creator>Swann55s</dc:creator>
      <dc:date>2022-11-12T04:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Setting an incident field and getting the new value of it</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/setting-an-incident-field-and-getting-the-new-value-of-it/m-p/520992#M1385</link>
      <description>&lt;P&gt;If you mean to sleep in between here is what I have done&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;import time&lt;/P&gt;
&lt;P&gt;demisto.executeCommand('setIncident', {'details': 'mycustomvalue'})&lt;BR /&gt;time.sleep(5)&lt;BR /&gt;return_results(demisto.get(demisto.incident(), 'details'))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 09:40:22 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/setting-an-incident-field-and-getting-the-new-value-of-it/m-p/520992#M1385</guid>
      <dc:creator>EnesOzdemir</dc:creator>
      <dc:date>2022-11-11T09:40:22Z</dc:date>
    </item>
  </channel>
</rss>

