How to create index variable in SharePoint Designer 2013
-
08-02-2021 - |
Question
I am creating a Call HTTP Web service in SharePoint Designer 2013 and looking to create a index variable but don't know how can I ?
Is the local variable and the index variable same?
Solution
Follow below steps:
- Create a new workflow variable (say
indexloop
). - Set its value to 0.
- Add loop until the
indexloop
is less than the number of results returned from REST API.
Check below link for detailed explanation and images:
SharePoint Designer 2013 Workflows and GET REST API
Documentation:
Working with Web Services in SharePoint Workflows using SharePoint Designer 2013.
Additional references:
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange