Azure Logic App For Each 循环每次发送多封电子邮件只想发送一封电子邮件

时间:2021-06-16 16:16:28

标签: azure azure-logic-apps

我有一个逻辑应用程序,它从 sql 服务器读取。我希望它从数据库中获取行并通过电子邮件发送获取的数据。

问题是在 foreach 循环中发送电子邮件,当数据库中的数据增长时,这会给我带来麻烦。

因此,我希望逻辑应用程序将所有数据收集到一封电子邮件中并发送, 我该怎么办?

1 个答案:

答案 0 :(得分:0)

我使用 variables 作为数据源。可以参考我的Azure logic app的设计过程:

enter image description here

enter image description here

相关问题