GenericPolling
Common Playbooks Pack.#
This Playbook is part of theImplements 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:
- Initiate the operation.
- Poll to check if the operation completed.
- (optional) Get the results of the operation.
For more information on polling, go to Playbook Polling.
#
DependenciesThis playbook uses the following sub-playbooks, integrations, and scripts.
#
Sub-playbooksThis playbook does not use any sub-playbooks.
#
IntegrationsThis playbook does not use any integrations.
#
Scripts- PrintErrorEntry
- RunPollingCommand
- ScheduleGenericPolling
#
CommandsThis playbook does not use any commands.
#
Playbook InputsName | Description | Default Value | Required |
---|---|---|---|
Ids | The list of IDs to poll. | - | Required |
PollingCommandName | The name of the polling command to run. | - | Required |
PollingCommandArgName | The argument name of the polling command. | ids | Required |
Interval | The frequency that the polling command will run (in minutes). | 1 | Required |
Timeout | The amount of time in which to poll before declaring a timeout and resuming the playbook (in minutes). | 10 | Required |
dt | The 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 |
AdditionalPollingCommandArgNames | The names of additional arguments for the polling command. For example, "arg1,arg2,...". | - | Optional |
AdditionalPollingCommandArgValues | The values of the additional arguments for the polling command. For example, "value1,value2,...". | - | Optional |
ExtractMode | Indicator Extraction mode for the command sequence. (In XSOAR 8 and above, for first run command set manually the RunPollingCommand task in the playbook, Advanced -> Indicator Extraction mode). | Optional |
#
Playbook OutputsThere are no outputs for this playbook.