首页 > 解决方案 > 在 Power Automate 中处理 5000 多个项目

问题描述

我正在设置一个可以读取 Excel 文件并将项目插入到 SharePoint Online 中的列表的流。

但是,当 excel 中有超过 5000 行时,流程会失败。

即使我将项目限制设置为 5000,我也会收到此错误:

Unable to process template language expressions for action 'Apply_to_each' at line '1' and column '5658': 'The number of foreach items limit exceeded for action 'Apply_to_each': maximum '5000' and actual '5120'.'.

我该如何解决这个问题?

标签: power-automate

解决方案


免费许可证最多允许 5000for each items个,而其他几个许可证允许 100,000 个。从文档中: 在此处输入图像描述

这是per flow,因此诸如具有多个 5000 行的 excel 文件具有存储行号的变量的多个循环之类的解决方法将不起作用。


推荐阅读