<?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 High resource (workers) consumption using Await/Sleep tasks in XSOAR in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/high-resource-workers-consumption-using-await-sleep-tasks-in/m-p/532901#M1849</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We are sending emails to users waiting for a response using the Await configuration and creating a timeout with sleep tasks. However, these pending tasks are a large number inside the XSOAR, increasing the consumption of XSOAR's resources.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Mar 2023 08:07:37 GMT</pubDate>
    <dc:creator>Josep</dc:creator>
    <dc:date>2023-03-02T08:07:37Z</dc:date>
    <item>
      <title>High resource (workers) consumption using Await/Sleep tasks in XSOAR</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/high-resource-workers-consumption-using-await-sleep-tasks-in/m-p/532901#M1849</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We are sending emails to users waiting for a response using the Await configuration and creating a timeout with sleep tasks. However, these pending tasks are a large number inside the XSOAR, increasing the consumption of XSOAR's resources.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 08:07:37 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/high-resource-workers-consumption-using-await-sleep-tasks-in/m-p/532901#M1849</guid>
      <dc:creator>Josep</dc:creator>
      <dc:date>2023-03-02T08:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: High resource (workers) consumption using Await/Sleep tasks in XSOAR</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/high-resource-workers-consumption-using-await-sleep-tasks-in/m-p/532993#M1852</link>
      <description>&lt;P&gt;In this case you can set the Sleep tasks to run without a worker, under the Advanced tab of the task.&amp;nbsp; Note that you ONLY do this for sleep tasks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But as an alternative, I would suggest using an SLA/Timer and an SLA breach script to move the playbook along in lieu of using Sleep tasks.&amp;nbsp; The advantage is SLA/Timers persist through a server restart, and have an advantage if you're sleeping for more than a few minutes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Checkout the CompleteTaskOnTimerBreach script that is part of the Case Management Pack -&amp;nbsp;&lt;A href="https://cortex.marketplace.pan.dev/marketplace/details/CaseManagementGeneric/" target="_blank"&gt;https://cortex.marketplace.pan.dev/marketplace/details/CaseManagementGeneric/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The technique (and script) is straight from the XSOAR Engineer Training series, video 18, which will show you how to use it. -&amp;nbsp;&lt;A href="https://live.paloaltonetworks.com/t5/cortex-xsoar-how-to-videos/cortex-xsoar-how-to-customer-success-engineering-training-video/ta-p/484604" target="_blank"&gt;https://live.paloaltonetworks.com/t5/cortex-xsoar-how-to-videos/cortex-xsoar-how-to-customer-success-engineering-training-video/ta-p/484604&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 17:09:04 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/high-resource-workers-consumption-using-await-sleep-tasks-in/m-p/532993#M1852</guid>
      <dc:creator>MBeauchamp2</dc:creator>
      <dc:date>2023-03-02T17:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: High resource (workers) consumption using Await/Sleep tasks in XSOAR</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/high-resource-workers-consumption-using-await-sleep-tasks-in/m-p/533947#M1879</link>
      <description>&lt;P&gt;Thanks for the reply&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2023 11:52:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/high-resource-workers-consumption-using-await-sleep-tasks-in/m-p/533947#M1879</guid>
      <dc:creator>Josep</dc:creator>
      <dc:date>2023-03-10T11:52:48Z</dc:date>
    </item>
  </channel>
</rss>

