Skip to main content

ServiceNow V2

servicenow

Version: 2.3
Updated: Jun 30, 2023

ServiceNow V2 SaaS is for technical management support - create, update, and gather ServiceNow ticket information.

Actions

  • Create Ticket (Notification) - Inserts one record in the specified table.
  • Update Ticket (Notification) - Updates the specified record with the name-value pairs included in the request body.
  • Close Ticket (Containment) - Closes a ticket specified by the System ID.
  • Get Ticket Details (Enrichment) - Retrieve a record from a table.
  • Search Tickets (Enrichment) - Retrieve a record from a table.
  • ServiceNow Incidents Daemon (Daemon) - Automatically retrieves new tickets.

ServiceNow V2 in Automation Service and Cloud SOAR

  1. To configure the integration, log into the application, expand the configuration menu in the top right corner by hovering over the gear icon and click Automation.
    servicenow
  2. In the Automation section, on the left menu, click Integrations.
    servicenow
  3. After the list of the integrations appears, search for the integration and click on the row.
  4. The integration details will appear. Click on the "+" button to add new Resource.
    servicenow
  5. Populate all the required fields (*):
    • URL. ServiceNow URL in the format https://company.service-now.com/.
    • Username. Your ServiceNow username.
    • Password. Your ServiceNow password.
  6. Click SAVE.
    servicenow
  7. To make sure the resource is working, hover over the resource and then click the pencil icon that appears on the right.
    servicenow
  8. Click TEST SAVED SETTINGS.
    servicenow
  9. You should receive a successful notification in the bottom right corner.
    servicenow

ServiceNow Incidents Daemon

When the daemon is run for first time it will return incidents in state 'new ' from last month.

Search Tickets

Query used to filter the result set.

Building the query:

Syntax: sysparm_query=<col_name><operator><value>.

  • <col_name>: Name of the table column to filter against.
  • <operator>: Supports the following values:
    =: Exactly matches <value>.
    !=: Does not match <value>.
    ^: Logically AND multiple query statements.
    ^OR: Logically OR multiple query statements.
    LIKE: <col_name> contains the specified string. Only works for <col_name> fields whose data type is string.
    STARTSWITH: <col_name> starts with the specified string. Only works for <col_name> fields whose data type is string.
    ENDSWITH: <col_name> ends with the specified string. Only works for <col_name> fields whose data type is string.
  • <value>: Value to match against.

All parameters are case-sensitive.

Queries can contain more than one entry.

For example: sysparm_query=<col_name><operator><value>[<operator><col_name><operator><value>]

For more info please check the official API doc: <https://developer.servicenow.com/dev.do#!/reference/api/sandiego/rest/c_TableAPI#table-GET>

Create Ticket

JSON Query filed needs to be populated with JSON, field names and values of all parameters within the newly created record.

For more info on building JSON Query check REST API Explorer.

For example: JSON Query = {"active":"true","assigned\_to":"966e021","number":"INC002135","state":""}

Update Ticket

JSON Query filed needs to be populated with JSON, field names and new value for each parameter to update in the specified record.

For more info on building Json Query check REST API Explorer.

For example: JSON Query = {active":"false","state":"2"}

Category

Ticketing System

Change Log

  • September 21, 2022 - First upload
  • April 5, 2023 - Action Close Ticket added.
  • June 30, 2023 (v2.3) - Integration code improved.
Legal
Privacy Statement
Terms of Use

Copyright © 2024 by Sumo Logic, Inc.