GenericPolling

Implements polling by continuously running the command in Step #2 (below) until the operation completes. Use this playbook as a sub-playbook to block the execution of the master playbook until a remote action is complete.

The remote action should have the following structure:

  1. Initiate the operation.
  2. Poll to check if the operation completed.
  3. (optional) Get the results of the operation.

Dependencies

This playbook uses the following sub-playbooks, integrations, and scripts.

Sub-playbooks

This playbook does not use any sub-playbooks.

Integrations

This playbook does not use any integrations.

Scripts

  • PrintErrorEntry
  • RunPollingCommand
  • ScheduleGenericPolling

Commands

This playbook does not use any commands.

Playbook Inputs


NameDescriptionDefault ValueRequired
IdsThe list of IDs to poll.-Required
PollingCommandNameThe name of the polling command to run.-Required
PollingCommandArgNameThe argument name of the polling command.idsRequired
IntervalThe frequency that the polling command will run (in minutes).1Required
TimeoutThe amount of time in which to poll before declaring a timeout and resuming the playbook (in minutes).10Required
dtThe DT filter for polling IDs. Polling will stop when no results are returned. Use single quotes, for example: WildFire.Report(val.Status!=='Success').SHA256.-Required
AdditionalPollingCommandArgNamesThe names of additional arguments for the polling command. For example, "arg1,arg2,...".-Optional
AdditionalPollingCommandArgValuesThe values of the additional arguments for the polling command. For example, "value1,value2,...".-Optional

Playbook Outputs


There are no outputs for this playbook.

Playbook Image


GenericPolling