Skip to main content


This Script is part of the Shift Management Pack.#

Randomly assigns the active incidents to on-call analysts (requires shift management). This automation works with the other out-of-office automations to ensure only available analysts are assigned to the active incidents.


This automation runs using the default Limited User role, unless you explicitly change the permissions. For more information, see the section about permissions here:

Script Data#

Script Typepython3
TagsShift Management, ooo
Cortex XSOAR Version5.0.0

Used In#

This script is used in the following playbooks and scripts. Assign Active Incidents to Next Shift V2


Argument NameDescription
incidentIdsA comma-separated list of active incident IDs to assign to the next shift, for example, 1,2,3,4.
listnameThe name of the out-of-office list. Default is "OOO List".


There are no outputs for this script.