When using a loop in my playbook I end up having to write data to a file or case wall if I want to use it outside of that loop. Since this playbook is essentially a giant Python Script is there a way to set a global variable ( not something associated with the case or alert just the script itself ) and then reference that global variable throughout the playbook.
Hi,
I think more information about what you're trying to achieve with this "global variable" can help direct us to a solution.
You can write the result to references using the "GoogleChronicle – Add Values To Reference List" integration, or to a list using the "Lists – Add String to Custom List" integration, and then use it for other tasks.


So using reference lists or custom lists happen outside a playbook and have there own problems ( Reference lists cant be deleted )
I am looking for a way to pass output of certain actions inside a loop to actions outside of a loop
if I have a loop iterating over 5 IP Entities and in that loop they run a UDM search, how can I get the output of each UDM search to the Send Email action that happens after the loop is completed. I want to send one email not 5.
*** this is a example use case
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.