RunPollingCommand
Runs a specified polling command one time. This is useful for initiating a local playbook context before running a polling scheduled task. This automation runs using the default Limited User role, unless you explicitly change the permissions. For more information, see the section about permissions here: - For Cortex XSOAR 6 see https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.x/Cortex-XSOAR-Playbook-Design-Guide/Automations - For Cortex XSOAR 8 Cloud see https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/8/Cortex-XSOAR-Cloud-Documentation/Create-a-script - For Cortex XSOAR 8.7 On-prem see https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/8.7/Cortex-XSOAR-On-prem-Documentation/Create-a-script
python · Common Scripts
Details
| ID | RunPollingCommand |
|---|---|
| Language | python |
| From Version | 5.0.0 |
| Docker Image | demisto/python3:3.12.13.10404775 |
README
Runs a one time specified polling command. This is useful for initiating a local playbook context before running a polling scheduled task.
Script Data
| Name | Description |
|---|---|
| Script Type | python |
| Tags | - |
| Cortex XSOAR Version | 4.0.0+ |
Inputs
| Argument Name | Description |
|---|---|
| ids | The list of IDs to poll. |
| pollingCommand | The name of the polling command to run. |
| pollingCommandArgName | The name of the argument of the polling command. |
| additionalPollingCommandArgNames | The comma-separated arguments of the polling command. |
| additionalPollingCommandArgValues | The comma-separated arguments values of the polling command. |
Outputs
There are no outputs for this script.
commonfields: id: RunPollingCommand version: -1 name: RunPollingCommand fromversion: 5.0.0 script: '' type: python subtype: python3 tags: [] comment: |- Runs a specified polling command one time. This is useful for initiating a local playbook context before running a polling scheduled task. This automation runs using the default Limited User role, unless you explicitly change the permissions. For more information, see the section about permissions here: - For Cortex XSOAR 6 see https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.x/Cortex-XSOAR-Playbook-Design-Guide/Automations - For Cortex XSOAR 8 Cloud see https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/8/Cortex-XSOAR-Cloud-Documentation/Create-a-script - For Cortex XSOAR 8.7 On-prem see https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/8.7/Cortex-XSOAR-On-prem-Documentation/Create-a-script enabled: true args: - name: ids required: true description: List of IDs to poll. - name: pollingCommand required: true description: Name of the polling command to run. - name: pollingCommandArgName required: true description: Name of the argument of the polling command. defaultValue: ids - name: additionalPollingCommandArgNames description: Commas separated arguments of the polling command. - name: additionalPollingCommandArgValues description: Commas separated arguments values of the polling command. scripttarget: 0 tests: - No test dockerimage: demisto/python3:3.12.13.10404775