Skip to main content

Does the foreach loop work differently in office 365 to on premise. I'm using a query list action and storing the result in a collection. When I loop around the collection I cant seem to get a hold of the values stored in the output value of the foreach action. I have done this many time in on premise and it has worked fine. I can see the collection has values when I log the collection in the workflow history.

Here you have an article about it >>>  


Can you provide a little more information one what action you are trying to perform in the for each? After querying and putting the returns in a collection, you're adding the collection to the for each and creating a new text variable to store each one? Have you added a log to workflow history inside the for each and added the new text variable? It works the same way as on prem.


Hi I had worked it out was being stupid


Reply