<?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 Error handling in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-handling/m-p/521558#M1416</link>
    <description>&lt;DIV id="1668163416.267359" class="" style="top: 586.7px;" tabindex="0" role="listitem" aria-setsize="-1" data-qa="virtual-list-item" data-item-key="1668163416.267359"&gt;
&lt;DIV class="" role="presentation" data-qa="message_container" data-qa-unprocessed="false" data-qa-placeholder="false"&gt;
&lt;DIV class="" role="document" aria-roledescription="messaggio" data-qa-hover="true"&gt;
&lt;DIV class="" style="position: relative;"&gt;
&lt;DIV class=""&gt;
&lt;DIV class="" role="presentation" data-qa="message_content"&gt;
&lt;DIV class="" style="position: relative;" role="none"&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV style="width: 1193px; height: 143px;"&gt;
&lt;DIV class=""&gt;
&lt;DIV class="" data-qa="message-text"&gt;
&lt;DIV class="" data-qa="block-kit-renderer"&gt;
&lt;DIV class=""&gt;
&lt;DIV class="" dir="auto"&gt;&amp;nbsp;
&lt;DIV class="" style="width: 1192px;"&gt;
&lt;DIV class="" style="width: 360px;"&gt;
&lt;DIV class="" style="padding-top: 32.2222%;"&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;Hi all, with this type of setting (see the img), if in the next task I check $ {lastCompletedTaskEntries} to verify if the previous task is in error, the result is positive even if the second retry task went well. How can I get around this problem?&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="immagine.png" style="width: 600px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/45405i1765F7F5E19EBB1E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="immagine.png" alt="immagine.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 17 Nov 2022 17:23:41 GMT</pubDate>
    <dc:creator>c.marlettalivi</dc:creator>
    <dc:date>2022-11-17T17:23:41Z</dc:date>
    <item>
      <title>Error handling</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-handling/m-p/521558#M1416</link>
      <description>&lt;DIV id="1668163416.267359" class="" style="top: 586.7px;" tabindex="0" role="listitem" aria-setsize="-1" data-qa="virtual-list-item" data-item-key="1668163416.267359"&gt;
&lt;DIV class="" role="presentation" data-qa="message_container" data-qa-unprocessed="false" data-qa-placeholder="false"&gt;
&lt;DIV class="" role="document" aria-roledescription="messaggio" data-qa-hover="true"&gt;
&lt;DIV class="" style="position: relative;"&gt;
&lt;DIV class=""&gt;
&lt;DIV class="" role="presentation" data-qa="message_content"&gt;
&lt;DIV class="" style="position: relative;" role="none"&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV style="width: 1193px; height: 143px;"&gt;
&lt;DIV class=""&gt;
&lt;DIV class="" data-qa="message-text"&gt;
&lt;DIV class="" data-qa="block-kit-renderer"&gt;
&lt;DIV class=""&gt;
&lt;DIV class="" dir="auto"&gt;&amp;nbsp;
&lt;DIV class="" style="width: 1192px;"&gt;
&lt;DIV class="" style="width: 360px;"&gt;
&lt;DIV class="" style="padding-top: 32.2222%;"&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;Hi all, with this type of setting (see the img), if in the next task I check $ {lastCompletedTaskEntries} to verify if the previous task is in error, the result is positive even if the second retry task went well. How can I get around this problem?&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="immagine.png" style="width: 600px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/45405i1765F7F5E19EBB1E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="immagine.png" alt="immagine.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Nov 2022 17:23:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-handling/m-p/521558#M1416</guid>
      <dc:creator>c.marlettalivi</dc:creator>
      <dc:date>2022-11-17T17:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error handling</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-handling/m-p/521599#M1417</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/199606"&gt;@c.marlettalivi&lt;/a&gt;, that is by design. The &lt;CODE&gt;${lastCompletedTaskEntries}&lt;/CODE&gt; returns the ID of the last warroom entry created by the previous playbook task. If you want to check individual task run, I would suggest going the playbook loop approach. Inside the sub-playbook set the task with no retries, your error check task should follow this task, then in your master playbook create the loop with a conditional check.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Refer - &lt;A href="https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-9/cortex-xsoar-admin/playbooks/configure-a-sub-playbook-loop" target="_blank"&gt;https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-9/cortex-xsoar-admin/playbooks/configure-a-sub-playbook-loop&lt;/A&gt;&amp;nbsp;for more information.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2022 23:33:20 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-handling/m-p/521599#M1417</guid>
      <dc:creator>jfernandes1</dc:creator>
      <dc:date>2022-11-17T23:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error handling</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-handling/m-p/521670#M1424</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/208028"&gt;@jfernandes1&lt;/a&gt; . I would like to be able to send an email if none of the retries ends without errors.&lt;/P&gt;
&lt;P&gt;Does the management with 'Error path' also behave in this way? &lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 10:06:31 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-handling/m-p/521670#M1424</guid>
      <dc:creator>c.marlettalivi</dc:creator>
      <dc:date>2022-11-18T10:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error handling</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-handling/m-p/521671#M1425</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/208028"&gt;@jfernandes1&lt;/a&gt; . I would like to be able to send an email if none of the retries ends without errors.&lt;/P&gt;
&lt;P&gt;Does the management with 'Error path' also behave in this way?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 10:06:40 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-handling/m-p/521671#M1425</guid>
      <dc:creator>c.marlettalivi</dc:creator>
      <dc:date>2022-11-18T10:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error handling</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-handling/m-p/521938#M1434</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/199606"&gt;@c.marlettalivi&lt;/a&gt;, The use case you're asking for is not possible with error path. As mentioned before, if you want to test each retry you should do this via the sub-playbook method.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 00:04:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-handling/m-p/521938#M1434</guid>
      <dc:creator>jfernandes1</dc:creator>
      <dc:date>2022-11-22T00:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error handling</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-handling/m-p/522619#M1469</link>
      <description>&lt;P&gt;They also introduced error handling playbooks in version 6.8.&amp;nbsp; You can add an error path after the task, which will be followed if it errors:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-8/cortex-xsoar-admin/playbooks/playbook-tasks/handle-errors-in-a-playbook" target="_blank"&gt;https://docs.paloaltonetworks.com/cortex/cortex-xsoar/6-8/cortex-xsoar-admin/playbooks/playbook-tasks/handle-errors-in-a-playbook&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 16:30:33 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/error-handling/m-p/522619#M1469</guid>
      <dc:creator>MBeauchamp2</dc:creator>
      <dc:date>2022-11-28T16:30:33Z</dc:date>
    </item>
  </channel>
</rss>

