Skip to content

Commit 9a671c3

Browse files
Update mendix-data-loader.md
1 parent b3db870 commit 9a671c3

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

content/en/docs/appstore/use-content/platform-supported-content/modules/snowflake/mendix-data-loader.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,20 @@ For example, for a data source with the ID *40FJYP9D*, the resulting statement w
139139
CALL MENDIX_DATA_LOADER.MX_FUNCTIONS.RUN_INGESTION_JOB('40FJYP9D','');
140140
```
141141

142-
## Setting Up Mail Notification on Failed Task Execution
142+
## Setting Up Mail Notifications on Failed Task Execution
143143

144-
Snowflake provides build in alert/notification functionality. This "ALERT" object holds a condition that you can specify and use to check if tasks have failed and send notifications based on your conditional expression. To use this you need to create a ["NOTIFICATION INTEGRATION"](https://docs.snowflake.com/en/sql-reference/sql/create-notification-integration-email) and ["ALERT"]() using the NOTIFICATION INTEGRATION and system function ["SYSTEM$SEND_EMAIL"](https://docs.snowflake.com/en/sql-reference/stored-procedures/system_send_email).
145-
For other options using external integrations for sending all sorts of notifications you can check out this [blog post](https://medium.com/snowflake/introduction-to-snowflakes-data-pipeline-alerts-notifications-9beac8d127cc).
144+
Snowflake provides a built-in functionality for alerts and notifications. This `ALERT` object lets you specify a conditional expression to check if tasks have failed and send notifications if required.
146145

147-
### SQL to Setup Mail Notification
146+
To use this functionality, perform the following steps:
148147

149-
The following is a template you can execute in a worksheet after filling in the specifics:
148+
1. Create a [notifcation integration email](https://docs.snowflake.com/en/sql-reference/sql/create-notification-integration-email).
149+
2. Create an [ALERT](https://docs.snowflake.com/en/sql-reference/commands-alert) using the notification integration and the ["SYSTEM$SEND_EMAIL"](https://docs.snowflake.com/en/sql-reference/stored-procedures/system_send_email) system function.
150+
151+
For more information about using external integrations for sending all types of notifications, see [Introduction to Snowflake's data pipeline alerts & notifications](https://medium.com/snowflake/introduction-to-snowflakes-data-pipeline-alerts-notifications-9beac8d127cc).
152+
153+
### Sample SQL to Set up a Mail Notification
154+
155+
The following is a sample SQL template which you can customize with your data and execute in a worksheet:
150156

151157
```sql
152158
CREATE DATABASE IF NOT EXISTS <db name>;

0 commit comments

Comments
 (0)