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: content/en/docs/appstore/use-content/platform-supported-content/modules/snowflake/mendix-data-loader.md
+32Lines changed: 32 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,38 @@ To view all ingestion jobs associated with a specific data source in Snowflake,
102
102
SELECT*FROMcore.ingestion_jobWHERE DATASOURCE_ID ='1234abcd'ORDER BY CREATED_DATE_TIME DESC;
103
103
```
104
104
105
+
## Programmatically Trigger an Ingestion From a Mendix App
106
+
107
+
Programmatically triggering an ingestion job can meet data ingestion requirements where a scheduled task may not. This includes cases such as waiting for a last submission to be submitted to a Mendix app before data ingestion occurs. Another example case is to start data ingestion when the load on the Mendix app is the lowest.
108
+
109
+
### Prerequisites
110
+
- A fully configured data source in the Mendix Data Loader
111
+
- A Mendix app equipped with the Snowflake REST SQL connector
112
+
- An authenticated user that is allowed to trigger stored procedures
113
+
114
+
To trigger an ingestion job programmatically, use the `ExecuteStatement` operation available in the Snowflake REST SQL connector. The statement to be executed has the following syntax.
When using OAuth authentication with the Mendix Data Loader, it is crucial to verify the access token received by your Mendix application. This verification process ensures the token's authenticity and integrity, protecting your application from unauthorized access attempts.
0 commit comments