cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How do you mimic a "for each loop" in Workflow for office 365?

Jump to solution

There is no For Each Loop in Office 365 and no Collections. I assume that you need to use a Dictionary instead of a Collection but how do you use what Loop with Condition or Loop N times to mimic For Each Loop functionality?  I am trying to assign new issues to the least used resource.  I have a SharePoint list with the Resources in them and I have extracted them to a collection using an Office 365 Query list.  I have also used an Office 365 Query list to extract the Active Issues to a Dictionary so I can count how many each resource has assigned to them.  I am now stuck.  Any suggestions?

0 Kudos
Reply
2 Replies
Workflow Hero

Re: How do you mimic a "for each loop" in Workflow for office 365?

Jump to solution

Hi Glen Winkfield

Here's a sample on query list & Get an Item from Dictionary in the Loop N Times. You can also extract additional fields from the Fields XML by using the Query XML.

Reply
Workflow Hero

Re: How do you mimic a "for each loop" in Workflow for office 365?

Jump to solution

The For Each action has since been added as well as the ability to utilize collections.

Check out a great blog by Vadim Tabakman‌ on For Each in Office 365 .

For an up-to-date list of all Nintex Workflow for Office365 actions, be sure to check out the help guide on Actions .

0 Kudos
Reply