Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 06:53 AM
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:
- 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:
- In Databricks, go to the job that you want to monitor for failures.
- Click on Edit Notifications to configure the job
- 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.
- If it’s showing Add new system destination then click on that it will open a new tab,
- 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