Supported Cortex XSOAR versions: 6.0.0 and later.
Use ServiceNow Incident State Polling as a sub-playbook when required to pause the execution of a master playbook until the ServiceNow ticket state is either resolved or closed. This playbook implements polling by continuously running the servicenow-get-ticket command until the state is either resolved or closed.
This playbook uses the following sub-playbooks, integrations, and scripts.
This playbook does not use any sub-playbooks.
This playbook does not use any integrations.
This playbook does not use any commands.
|TicketNumber||The ServiceNow ticket number to poll for its state.||Required|
|Interval||Frequency that the polling command will run (minutes).||Required|
|Timeout||Amount of time to poll before declaring a timeout and resuming the playbook (in minutes).||Required|
|InstanceName||Set the ServiceNow Instance that will be used by the polling command.|
Only relevant when there is more than one ServiceNow instance.
|AdditionalPollingCommandName||Additional polling commands are relevant when using StatePolling, and there is more than one ServiceNow instance. It will specify the polling command to use a specific instance to run on. |
If so, please add "Using" to the value.
The polling command will then take the instance name as the instance to use.
There are no outputs for this playbook.