- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-21-2024 01:33 AM
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
02-22-2024 06:39 AM
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.
02-22-2024 06:39 AM
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.
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!