Create And Update ServiceNow Record

Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊

Back to Content Index


This playbook will create or update incident in ServiceNow. When incident is created, playbook will run and create incident in ServiceNow. When incident is updated, playbook will run and add update to comment section. When incident is closed, playbook will run and close incident in ServiceNow.

Attribute Value
Type Playbook
Solution Servicenow
Source View on GitHub

Logic App Connectors

This playbook uses 3 Logic App connectors / built-in actions:

Connector / Action Type Connections Actions
azuresentinel Managed 1 0
microsoftsentinel Managed 0 1
service-now Managed 1 3
Action parameters (URLs, paths, function IDs)

microsoftsentinel (Managed)

Action Method Endpoint Other
Update_incident put /Incidents

service-now (Managed)

Action Method Endpoint Other
Create_Record post /api/now/v2/table/@{encodeURIComponent('incident')}
Update_Record_-_Incident_closed put /api/now/v2/table/@{encodeURIComponent('incident')}/@{encodeURIComponent(variables('SNOW System ID'))}
Update_Record_-_incident_not_closed put /api/now/v2/table/@{encodeURIComponent('incident')}/@{encodeURIComponent(variables('SNOW System ID'))}

Additional Documentation

📄 Source: ServiceNow-CreateAndUpdateIncident/readme.md

ServiceNow-CreateAndUpdateIncident

author: Benjamin Kovacevic

This playbook will create or update incident in ServiceNow. When incident is created, playbook will run and create incident in ServiceNow. When incident is updated, playbook will run and add update to comment section. When incident is closed, playbook will run and close incident in ServiceNow.

Prerequisites

We will need following data to make Jira connector:

  1. ServiceNow instance (ex. xyz.service-now.com)
  2. Username
  3. Password ServiceNow connector requirements

Quick Deployment

Deploy to Azure Deploy to Azure Gov

Post-deployment

  1. Authorize ServiceNow connector
  2. Assign Microsoft Sentinel Responder role to playbook's managed identity. To do so, choose Identity blade under Settings of the Logic App.
  3. Add playbook as an action to the automation rule, ex.:

Screenshots

Playbook
playbook screenshot
playbook screenshot

ServiceNow New Incident
ServiceNow screenshot new

ServiceNow Update Incident
ServiceNow screenshot update

ServiceNow Incident closed
ServiceNow screenshot closed


Browse: 🏠 · Solutions · Connectors · Methods · Tables · Content · Parsers · ASIM Parsers · ASIM Products · Logic Apps · 📊

Back to Playbooks · Back to Servicenow