通过将新行插入(添加)到 table、SQL 服务器数据库来触发 Azure 函数
Trigger Azure Function by inserting (adding) new row into table, SQL Server Database
是否可以通过将新行插入 table(使用 SQL 服务器数据库)来触发 Azure 函数。
或者,如果新记录已添加到 table、SQL 服务器数据库(例如,一旦添加新记录以发送新信息电子邮件),是否可以创建逻辑应用程序通知我们
您可以使用 Azure Event Grid as stated on this 文章 "Extend existing workflows by triggering a Logic App once there is a new record in your database"。
您还可以创建一个逻辑应用程序来轮询 table 并添加一个操作项来调用 Azure 函数或 RESTful 调用。
希望对您有所帮助。
如果其他人有同样的问题,
如果您使用的是 SQL Azure,则可以使用 SQL 逻辑应用程序的连接器触发器
With this connector trigger, you can kick off your Logic Apps whenever
a row is inserted or modified in a SQL Azure Database table.
- You have to select the appropriate trigger.
- Create your connection (if you have not already) or select an existing connection.
- Then, select the table from the drop-down.
- You can also choose to further limit the rows returned by specifying a filter.
Currently the connector has some limitations
- It does not work for on-premises SQL Server
- Table must have an IDENTITY column for the new row trigger
- Table must have a ROWVERSION (a.k.a. TIMESTAMP) column for the modified row trigger
从这里获得:
https://flow.microsoft.com/en-us/blog/introducing-triggers-in-the-sql-connector/
是否可以通过将新行插入 table(使用 SQL 服务器数据库)来触发 Azure 函数。 或者,如果新记录已添加到 table、SQL 服务器数据库(例如,一旦添加新记录以发送新信息电子邮件),是否可以创建逻辑应用程序通知我们
您可以使用 Azure Event Grid as stated on this 文章 "Extend existing workflows by triggering a Logic App once there is a new record in your database"。
您还可以创建一个逻辑应用程序来轮询 table 并添加一个操作项来调用 Azure 函数或 RESTful 调用。
希望对您有所帮助。
如果其他人有同样的问题, 如果您使用的是 SQL Azure,则可以使用 SQL 逻辑应用程序的连接器触发器
With this connector trigger, you can kick off your Logic Apps whenever a row is inserted or modified in a SQL Azure Database table.
- You have to select the appropriate trigger.
- Create your connection (if you have not already) or select an existing connection.
- Then, select the table from the drop-down.
- You can also choose to further limit the rows returned by specifying a filter.
Currently the connector has some limitations
- It does not work for on-premises SQL Server
- Table must have an IDENTITY column for the new row trigger
- Table must have a ROWVERSION (a.k.a. TIMESTAMP) column for the modified row trigger
从这里获得:
https://flow.microsoft.com/en-us/blog/introducing-triggers-in-the-sql-connector/