<?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: Playbooks seems never end in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/playbooks-seems-never-end/m-p/550424#M2371</link>
    <description>&lt;P&gt;The runStatus itself is referring to the playbook within the incident rather than the incident itself. Those statuses don't take up an additional resources than a completed runStatus. One option to have the runStatus show as completed is add some logic to the playbook where it stops for a task that requires user input at the step where you might manually close the case. Based on that input, the playbook could follow an alternate path where the playbook completes without running the additional automated tasks if it were to stay open. The other option would be to create a post process script that checks if all the tasks are completed. If they aren't then the script would prevent the incident from closing.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2023 18:14:14 GMT</pubDate>
    <dc:creator>amontminy</dc:creator>
    <dc:date>2023-07-21T18:14:14Z</dc:date>
    <item>
      <title>Playbooks seems never end</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/playbooks-seems-never-end/m-p/550340#M2367</link>
      <description>&lt;P&gt;Hello everyone&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Recently I am developing playbooks for the management of possible security incidents.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something that catches my attention is that, in case of errors throughout the playbook, I have established that the case is closed through the "Close Investigation (builtin)" automation. Although on other occasions, the question I want to ask also comes from situations in which I manually close a case before the playbook reaches the last point.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In these situations, I always see that the "runStatus" of the previously commented cases is "idle" and not something similar to "Completed" (and also, visually it seems that the playbook continues trying to execute the last task in which it was left when the case was closed). Do playbooks in "idle" state consume resources? How could you improve the transition from these states to a "completed" or "failed" state?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 07:14:11 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/playbooks-seems-never-end/m-p/550340#M2367</guid>
      <dc:creator>SergioPalacios</dc:creator>
      <dc:date>2023-07-21T07:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: Playbooks seems never end</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/playbooks-seems-never-end/m-p/550424#M2371</link>
      <description>&lt;P&gt;The runStatus itself is referring to the playbook within the incident rather than the incident itself. Those statuses don't take up an additional resources than a completed runStatus. One option to have the runStatus show as completed is add some logic to the playbook where it stops for a task that requires user input at the step where you might manually close the case. Based on that input, the playbook could follow an alternate path where the playbook completes without running the additional automated tasks if it were to stay open. The other option would be to create a post process script that checks if all the tasks are completed. If they aren't then the script would prevent the incident from closing.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 18:14:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/playbooks-seems-never-end/m-p/550424#M2371</guid>
      <dc:creator>amontminy</dc:creator>
      <dc:date>2023-07-21T18:14:14Z</dc:date>
    </item>
  </channel>
</rss>

