- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
03-02-2023 12:07 AM
Hello,
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.
03-02-2023 09:09 AM
In this case you can set the Sleep tasks to run without a worker, under the Advanced tab of the task. Note that you ONLY do this for sleep tasks.
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. The advantage is SLA/Timers persist through a server restart, and have an advantage if you're sleeping for more than a few minutes.
Checkout the CompleteTaskOnTimerBreach script that is part of the Case Management Pack - https://cortex.marketplace.pan.dev/marketplace/details/CaseManagementGeneric/
The technique (and script) is straight from the XSOAR Engineer Training series, video 18, which will show you how to use it. - https://live.paloaltonetworks.com/t5/cortex-xsoar-how-to-videos/cortex-xsoar-how-to-customer-success...
03-02-2023 09:09 AM
In this case you can set the Sleep tasks to run without a worker, under the Advanced tab of the task. Note that you ONLY do this for sleep tasks.
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. The advantage is SLA/Timers persist through a server restart, and have an advantage if you're sleeping for more than a few minutes.
Checkout the CompleteTaskOnTimerBreach script that is part of the Case Management Pack - https://cortex.marketplace.pan.dev/marketplace/details/CaseManagementGeneric/
The technique (and script) is straight from the XSOAR Engineer Training series, video 18, which will show you how to use it. - https://live.paloaltonetworks.com/t5/cortex-xsoar-how-to-videos/cortex-xsoar-how-to-customer-success...
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!