In this article you will see how to use a For Each loop in a NINTEX workflow.
Introduction In this article you will see how to use a "For Each" loop in a NINTEX workflow. I will add multiple users to the specified group by calling the web service "_vti_bin/usergroup.asmx". I have created a custom list named "User Collection" that has the following columns:
Workflow Design A Regular Expression action is used to get the user collection from the list item and stores it in the Collection workflow variable. A "For Each" action is used to loop through all the users from the collection variable and store it in a person or group workflow variable. Call the web service action used to add the users to the specified group. Add users to group workflow
Use the following procedure to add users to a group workflow:
Publish the workflow
Test the workflow
Summary Thus in this article you saw how to use a "For Each" loop using a NINTEX workflow. Related Links
Getting Started with SharePoint Framework Development using TypeScript, PnP JS, and React JS