Skip to main content


This Script is part of the Common Scripts Pack.#

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

Script Data#

Script Typejavascript


Argument NameDescription
idsThe list of IDs to poll.
pendingIdsThe IDs with pending status.
pollingCommandThe name of the polling command to run.
pollingCommandArgNameThe name of the argument of the polling command.
intervalThe frequency to poll. How often the polling command should run (in minutes).
timeoutThe amount of time to poll before declaring a timeout and resuming the playbook (in 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").
additionalPollingCommandArgNamesThe names of the additional arguments for the polling command. For example, arg1,arg2,...
additionalPollingCommandArgValuesThe commas-separated arguments values of the polling command.


There are no outputs for this script.