You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/resources/job.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,6 +128,17 @@ Each entry in `webhook_notification` block takes a list `webhook` blocks. The fi
128
128
*`on_success` - (Optional) (List) list of notification IDs to call when the run completes successfully. A maximum of 3 destinations can be specified.
129
129
*`on_failure` - (Optional) (List) list of notification IDs to call when the run fails. A maximum of 3 destinations can be specified.
130
130
131
+
Note that the `id` is not to be confused with the name of the alert destination. The `id` can be retrieved through the API or the URL of Databricks UI `https://<workspace host>/sql/destinations/<notification id>?o=<workspace id>`
132
+
133
+
Example
134
+
```hcl
135
+
webhook_notifications {
136
+
on_failure {
137
+
id = "fb99f3dc-a0a0-11ed-a8fc-0242ac120002"
138
+
}
139
+
}
140
+
```
141
+
131
142
### webhook Configuration Block
132
143
133
144
*`id` - ID of the system notification that is notified when an event defined in `webhook_notifications` is triggered.
0 commit comments