SharePoint Designer Workflow Item Count

一笑奈何 提交于 2021-01-29 06:37:18

问题


I have created SharePoint designer workflow 2013. I am using REST API to fetch records with filter query as below

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

Now I am using Item Count Action to count the Results but it always give me zero. Kindly help me to solve the issue


回答1:


You're missing web in your endpoint _api/web/ .

It's helpful to output the rest api endpoint for troubleshooting so you could test in browser.

My test demo:



来源:https://stackoverflow.com/questions/55322244/sharepoint-designer-workflow-item-count

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!