ServiceNow Ticket State Polling

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.

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

  • ScheduleGenericPolling
  • RunPollingCommand
  • PrintErrorEntry

Commands

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.
Optional
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