Skip to main content

BatchData

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#


NameDescription
Script Typepython3
Tags

Inputs#


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.

Outputs#


There are no outputs for this script.