High resource (workers) consumption using Await/Sleep tasks in XSOAR

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

High resource (workers) consumption using Await/Sleep tasks in XSOAR

L4 Transporter

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.

1 accepted solution

Accepted Solutions

L4 Transporter

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...

View solution in original post

2 REPLIES 2

L4 Transporter

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...

L4 Transporter

Thanks for the reply

  • 1 accepted solution
  • 1248 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!