Skip to main content


This Script is part of the Common Scripts Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.5.0 and later.

Generates the URL for a Data Collection Task into Context. Can be used to get the url for tasks send via Email, Slack, or even if you select "By Task Only".

To generate links for specific users, add an array of users in the users argument.

Script Data#

Script Typepython3


Argument NameDescription
task_idThe data collection task ID.
usersThe array of users the data collection task was sent to, or that you want to send to (If using by task only)


DataCollectionURL.urlThe data collection URLString
DataCollectionURL.taskThe task ID for the generated URLUnknown
DataCollectionURL.userThe user for which the data collection link was generatedUnknown