web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / OR Condition within a ...
Power Automate
Unanswered

OR Condition within a Loop - Code Doesn't Persist through Save

(0) ShareShare
ReportReport
Posted on by 5

In a flow, I am querying a REST API data source that returns an array. I am using nested Loops to determine whether I consider the particular record relevant to the search (i.e. The search is looking for a Name within a State and trying to match to a known email or phone number). I am also interested in understanding the Reported Date of the record to determine if it is more recent than what has already been recorded. My issue is that the OR Condition erases after each Save of the flow and doesn't persist. The loop continues as if Step 2 doesn't exist (see below).

 

Here is the workflow:

  1. Query Return 
  2. Condition (Dataverse Reported Date is Null OR Reported Date is greater than Dataverse Reported Date)
  3. Condition (Reported Email equal to Dataverse known email)
  4. Condition (Reported Phone equal to Dataverse known phone)

If either 3 or 4 are true, the record is updated in the Dataverse record. This should only happen if the date is more recent (but it just runs through all of them).

 

Please help me identify where I am going wrong or if this is an issue with Power Automate.

 

Thanks,

 

 

 

Categories:
I have the same question (0)
  • Verified answer
    creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @VirtualAdvisory Are you using the new designer or Classic Designer? If you are using the New Designer, can you try to switch to the Classic Designer and see if you continue to have issues saving?

     

    If so, you might need to create a brand new flow, switch to the Classic Designer first before making any edits to your flow. The new designer is still buggy.

     

    Hope this helps!

    If I helped you solve your problem—please mark my post as a solution ✅.
    Consider giving me a 👍 if you liked my response!

    👉 Level up your Power Automate skills by checking out my tutorials on YouTube
    👉 Tips and Tricks on TikTok and Instagram
  • VirtualAdvisory Profile Picture
    5 on at

    Thanks @creativeopinion 

    I am using the New Designer and will try again with Classic as I debug.

    I noticed that I was having trouble saving Binary variables as well - specifically to "false".

  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @VirtualAdvisory No worries. The new designer is pretty buggy and even if you switch to the Classic after you've already used the New designer, it can still cause issues.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard