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.
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.