Handling errors in a playbook

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

Handling errors in a playbook

L0 Member

I'm looking to change the flow of my playbook not only if errors are encountered in my tasks, but dependant also on what those errors are. I found a tutorial on docs.paloaltonetworks.com that included this:

 

Step 3: For new tasks, in the Task Name field, type a meaningful name for the task that corresponds to the data you are collecting.

Step 4: Click the On Error tab.

Step 5: In the Number of retries field, type the number of times the tasks attempts to run before generating an error.

 

However, when I'm creating a new task, there aren't any tabs to be seen. Am I missing a step? Is this version dependant?

Thanks!

1 REPLY 1

L4 Transporter

Hi @alexbbryant, yes this is version dependent. Only 6.8 includes this new feature. In older version of Cortex use the below solution. 

 

Screen Shot 2022-07-13 at 12.55.27 pm.png

 

Task 2: Can be any automation. Just ensure that you set the "Stop on error" to No. 

Screen Shot 2022-07-13 at 12.57.37 pm.png

For task 4: Use the isError automation. Like below.

Screen Shot 2022-07-13 at 1.00.00 pm.png

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!