cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Does the foreach loop work differently in office 365 to on premise.

Jump to solution

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.

Labels: (1)
Reply
3 Replies
Workflow Hero

Re: Does the foreach loop work differently in office 365 to on premise.

Jump to solution

Here you have an article about it >>>  

Reply
Workflow Hero

Re: Does the foreach loop work differently in office 365 to on premise.

Jump to solution

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.

0 Kudos
Reply
Workflow Hero

Re: Does the foreach loop work differently in office 365 to on premise.

Jump to solution

Hi I had worked it out was being stupid

0 Kudos
Reply