Showing results for 
Search instead for 
Did you mean: 
New Member

For each condition applied to true or false return

I have a flow I’m designing to go through items in a SharePoint list, evaluate whether it meets two conditions (one field = true AND one field = false). If the condition is met, then it should create a document and update the SharePoint item so that the false field is changed to true. When I check the flow, it evaluates all items correctly, but seems to apply all the rules even when it returns false. I kind of think it is testing the first item, and if it is true, then applying the changes to all the items. I can’t figure out how to get it to run correctly. Any help is appreciated. Photos of the flow should be in the link below.

Super User II
Super User II

your problem is the apply to each 4 you need to get rid of that loop it is not needed and any dynamic content referencing the loop needs to go and be replaced by the version from the current loop, or you will get the behavior you describe.

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (12,863)