Skip to main content

GenericPollingScheduledTask

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#


NameDescription
Script Typejavascript
Cortex XSOAR Version5.0.0

Inputs#


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.

Outputs#


There are no outputs for this script.