Looping A Sub-Playbook

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

Looping A Sub-Playbook

L0 Member

Require some suggestions.

I am trying to loop a sub-playbook. 
If the exit condition is met, everything is okay. However, if max number of iterations are reached the playbook throws and error that waiting for manual input and fails. 

Anyone has any idea if I am missing something

#loopaplaybook

1 accepted solution

Accepted Solutions

L1 Bithead

Hello,

The loop erroring out on max iterations is actually expected behavior, but there have been discussions on changing this behavior going into XSOAR 8. For now, we recommend setting an numerical iteration counter to context data, and include an exit condition that will when the iterator reaches max iterations - 1. 

View solution in original post

1 REPLY 1

L1 Bithead

Hello,

The loop erroring out on max iterations is actually expected behavior, but there have been discussions on changing this behavior going into XSOAR 8. For now, we recommend setting an numerical iteration counter to context data, and include an exit condition that will when the iterator reaches max iterations - 1. 

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