ServiceNow Ticket State Polling

Supported versions

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.


  • ScheduleGenericPolling
  • RunPollingCommand
  • PrintErrorEntry


This playbook does not use any commands.

Playbook Inputs

NameDescriptionDefault ValueRequired
TicketNumberServiceNow ticket number to poll its state.Required
IntervalFrequency that the polling command will run (minutes).Required
TimeoutAmount of time to poll before declaring a timeout and resuming the playbook (in minutes).Required
InstanceNameSet the ServiceNow Instance that will be used by the polling command.
Only relevant when there is more than one ServiceNow instance.
AdditionalPollingCommandNameValues of the additional arguments for the polling command, for example: (value1,value2,...).Optional

Playbook Outputs

There are no outputs for this playbook.

Playbook Image

ServiceNow Ticket State Polling