cancel
Showing results for 
Search instead for 
Did you mean: 
Community Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

Databricks Job Failure + Service now Integration

Phani1
Valued Contributor

Hi Team,

Could you please suggest how to raise the service now ticket, in case of Databricks job failure?

Regards ,

Phanindra

4 REPLIES 4

Kaniz_Fatma
Community Manager
Community Manager

Hi @Phani1To raise a service now ticket in case of Databricks job failure, follow these steps:
1. Go to the [help.Databricks.com](https://help.databricks.com/s/) page.
2. Click the **Submit Case** button.
3. Complete the required information, including the correct **Business Impact**, to determine the service level agreement associated with your ticket.
4. Provide details about the Databricks job failure, including the error message and any relevant logs or information.
5. Submit the case and wait for a response from Databricks Support.

Sources: Docs: support

Phani1
Valued Contributor

Sorry, my question might be confusing,

My question is for example I have one job which loads data / performs some transformation on delta tables, job got failed due to some issues, In databricks we have job failure notification but we want to integrate with service now.

We would like to raise a ticket in the service now system saying the job failed due to some reason  and support engineer will work on the ticket and will analyze the reasons for failing. 

Basically we would like to integrate with Databricks and service now.

Hi @Phani1, To integrate Databricks job failure notifications with ServiceNow, you can use the webhook method. This allows Databricks to send an HTTP POST request (webhook) to a designated endpoint in ServiceNow whenever a job fails. By doing so, you can automatically raise a ticket in the ServiceNow system, notifying the support engineers about the job failure, and enabling them to analyze the reasons for the failure.

 

  • Create a Custom Endpoint in ServiceNow:
  1. Create a new "Inbound REST Web Service" or "Scripted REST API" and define the endpoint URL where Databricks will send the webhook notification.

 

  • Configure Databricks Job Failure Notification:
  1. In Databricks, go to the job that you want to monitor for failures.
  2. Click on Edit Notifications to configure the job
  3. Click on Add Notification, and in Select a system destination, select a destination, and click the check box for failure job notification type to send to that destination.
  4. If it’s showing  Add new system destination then click on that it will open a new tab,
  5. In that click Add Destination select Select the "Webhook" option and provide the URL of the custom endpoint you created in ServiceNow.

 

For more information about webhook you can refer to the below documentation links

https://docs.databricks.com/workflows/jobs/job-notifications.html

https://docs.databricks.com/administration-guide/workspace/settings/notification-destinations.html#a...



Swastik_Mishra
New Contributor II
New Contributor II

Hi @Phani1, You can use the webhook method to integrate Databricks job failure notifications with ServiceNow. This allows Databricks to send an HTTP POST request (webhook) to a designated endpoint in ServiceNow whenever a job fails. By doing so, you can automatically raise a ticket in the ServiceNow system, notifying the support engineers about the job failure, and enabling them to analyze the reasons for the failure.

 

  • Create a Custom Endpoint in ServiceNow:
  1. Create a new "Inbound REST Web Service" or "Scripted REST API" and define the endpoint URL where Databricks will send the webhook notification.

 

  • Configure Databricks Job Failure Notification:
  1. In Databricks, go to the job that you want to monitor for failures.
  2. Click on Edit Notifications to configure the job
  3. Click on Add Notification, and in Select a system destination, select a destination, and click the check box for failure job notification type to send to that destination.
  4. If it’s showing  Add new system destination then click on that it will open a new tab,
  5. In that click Add Destination select Select the "Webhook" option and provide the URL of the custom endpoint you created in ServiceNow.

 

For more information about webhook you can refer to the below documentation links

https://docs.databricks.com/workflows/jobs/job-notifications.html

https://docs.databricks.com/administration-guide/workspace/settings/notification-destinations.html#a...



Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!