Power Automate填充Excel

发布于 2025-01-20 19:49:24 字数 257 浏览 3 评论 0原文

我希望在签订合同时将以下信息输入到 Excel 表格中:协议 ID、协议名称、创建日期、状态。如果该行已经存在,则更改状态。 但它并没有真正起作用,它每次都会创建几行。

逻辑应用

行入excel

当该行存在时,foreach 为每个操作给出“False”

I want that when a contract is signed the following information is entered in an excel table: Agreement ID, Agreement Name, Creation Date, Status. And if the row already exists changes the status.
But it doesn’t really work, it creates several rows each time.

Logic app

Row in excel

The foreach gives "False" to each operation while the line is existing

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

阳光①夏 2025-01-27 19:49:24

从我们的末端重现后,我们已经观察到条件连接器中的条件更新到下面的表达式已更新了Excel的更改,此后使用了list列表行, 条件连接器。当它得到所有行中存在的所有行时。

array(body('List_rows_present_in_a_table')?['value']?[0]?['Agreement ID'])

这是我的逻辑应用

src =“ https://i.sstatic.net/lwsul.png” alt =“ inter image description there on

此处

< img 。

​在这里”>

After reproducing from our end, we have observed that changing condition in the condition connector to below expression have updated the changes in excel, after using List rows present in a table connector before the condition connector. As it gets all the rows present in the table.

array(body('List_rows_present_in_a_table')?['value']?[0]?['Agreement ID'])

Here is my Logic App

enter image description here

Below is my excel initially

enter image description here

Result:

enter image description here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文