[英]Get items from SPO and past them in Azure SQL with Azure Logic App
I am trying to make a logic app with "Recurrence" triger which get items from SPO list (from view) with condition:我正在尝试使用“Recurrence”触发器制作一个逻辑应用程序,该应用程序从 SPO 列表(从视图)中获取项目,条件如下:
Then get rows from Azure SQL table and compare with data from SPO (above), if there is a match then skip them, if is not a match then add row in Azure SQL with values from SPO item. Then get rows from Azure SQL table and compare with data from SPO (above), if there is a match then skip them, if is not a match then add row in Azure SQL with values from SPO item.
Do you have any ideas?你有什么想法?
Work is done.工作完成。 With Execute a SQL query (V2) I am getting values from dtb.
通过执行 SQL 查询 (V2) 我从 dtb 获取值。 and with expression from condition
length(string(body('Execute_a_SQL_query_(V2)_2')?['resultsets']))
I now if item which I want to add is already in database.并使用条件
length(string(body('Execute_a_SQL_query_(V2)_2')?['resultsets']))
中的表达式,如果我要添加的项目已经在数据库中。 With another Execute a SQL query (V2) I can add specific values.使用另一个执行 SQL 查询(V2)我可以添加特定值。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.