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?
Solved! Go to Solution.