Skip to main content


This Script is part of the Common Scripts Pack.#

Runs the polling command repeatedly, completes a blocking manual task when polling is done.

Script Data#

Script Typejavascript
Cortex XSOAR Version5.0.0


Argument NameDescription
idsList of IDs to poll
pendingIdsIDs with pending status
pollingCommandName of the polling command to run
pollingCommandArgNameName of the argument of the polling command
intervalPolling frequency - how often the polling command should run (minutes)
timeoutHow much time to poll before declaring a timeout and resuming the playbook (minutes)
playbookIdThe ID of the playbook that contains the manual task which will be completed once the polling is done.
tagThe tag of the blocking manual task ("Wait For Polling Task To Finish")
additionalPollingCommandArgNamesNames of additional arguments for the polling command (e.g. arg1,arg2,...)
additionalPollingCommandArgValuesCommas separated arguments values of the polling command
scheduledEntryGuidThe GUID of the scheduled entry that runs the polling command.
endTimeThe time to end the polling.


There are no outputs for this script.