Skip to main content


This Script is part of the Community Common Scripts Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

This Automation takes in a string of comma separated items and returns a dictionary of with the defined chunk size.

Script Data#

Script Typepython3


Argument NameDescription
batch_sizenumber of items that will be returned in each dictionary items (must be of type int)
datacomma separated list of items
context_pathThis nest the path under BatchedData in context. If you are running this script multiple times/simultaneously in a playbook, your data will be over written.


There are no outputs for this script.