delay in a playbook

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

delay in a playbook

L1 Bithead

Hello everyone, 

 

What is the best option to add a delay in a playbook, for example I have 2 automated tasks and want task 2 to start after task 1 finishes by 1 hour.

 

I thought of creating a one-line automation that has time.sleep(amount) and adding this automation between the 2 tasks. but not sure how safe is this especially for long times.

 

any recommendations.

 

Thanks in advance.

 

1 accepted solution

Accepted Solutions

L4 Transporter

Hi @m.hamadieh ,

 

There is a sleep automation script for this purpose. Selecting "run without a worker" from the advanced task will not consume any worker. Please be informed that this is only advised for this automation.

gyldz_0-1686225860878.png

I hope this answers your question.

View solution in original post

3 REPLIES 3

L4 Transporter

Hi @m.hamadieh ,

 

There is a sleep automation script for this purpose. Selecting "run without a worker" from the advanced task will not consume any worker. Please be informed that this is only advised for this automation.

gyldz_0-1686225860878.png

I hope this answers your question.

L4 Transporter

You can also use SLA Timers instead of Sleep, it was covered in a recent Blog post:

https://live.paloaltonetworks.com/t5/customer-news/you-complete-me-or-the-alternative-way-to-put-you...

  • 1 accepted solution
  • 1985 Views
  • 3 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!