SharePoint Designer工作流项目计数

问题描述 投票:0回答:1

我创建了SharePoint设计器工作流2013.我使用REST API来获取带有过滤查询的记录,如下所示

[%Workflow Context:Current Site URL%]_api/lists/getbytitle('[%Workflow Context:List Name%]')/items?$select=Title,ItemId,Reaction,Flag&$filter=Flag eq '1'

现在我使用项目计数操作来计算结果,但它总是给我零。请帮我解决这个问题

enter image description here

sharepoint-online sharepoint-designer sharepoint-workflow
1个回答
1
投票

您在端点_api/web/中遗漏了网页。

输出其余的api端点进行故障排除很有帮助,因此您可以在浏览器中进行测试。

我的测试演示:

enter image description here

enter image description here

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.