- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
12-06-2023 04:26 AM
Hello,
So we have a playbook that is meant to send alerts via email in strikes. In each strike there is a link to a survey that has only YES/NO answers and based on the answers given be the recipients of those emails we want the playbook to follow a path.
We thought that we might need a counter and timer for this specific task, for example, regarding the timer let's say I want to setup a 15 minutes timeframe, the first user to receive the email answers with no and after few minutes(within those 15minutes), 2 other users will answers with yes. I want those 2 yes answers to be taken in consideration and follow the path for closing the playbook and not going to the second strike email.
Thank you so much!
12-11-2023 07:54 AM
You could use a builtin loop, and have it update a counter on each go around, there is an example in video 12:
https://live.paloaltonetworks.com/t5/cortex-xsoar-how-to-videos/tkb-p/Cortex_XSOAR_How_to_Videos
For your data collection task (assuming that's what you're using), you can specify to move on after receiving X number of replies AND/OR a given SLA.
You'd just need a conditional to check the responses and if you got enough of them, and either set the condition to break the builtin loop, or to repeat it. Just make sure to manage your context appropriately on each loop.
12-12-2023 03:24 AM
Thank you! I will try and let u know how it went
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!