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 Apps / Dataverse Flow Update ...
Power Apps
Answered

Dataverse Flow Update a Row Action Failing to Upsert

(0) ShareShare
ReportReport
Posted on by 6
According to the documentation, the Update a Row action should perform an upsert (which is an update if row exists with a given row ID or an insert if it does not).
 
Instead, when a row with the row ID does not exist it is returning the following error:
Entity 'cr29f_JourneyLeadHistory' With Id = 01d33241-bb0f-168d-8bad-6cff6e2afc73 Does Not Exist
 
After that, this error, I added an Add a Row that triggers on a failure with the same parameter mapping and it did the insert. Re-running the same flow and the Update a Row works. This shows the upsert in the documentation is not working.
 
Is there a way to get the correct behavior?
I have the same question (0)
  • Suggested answer
    ankit_singhal Profile Picture
    614 Super User 2025 Season 2 on at
    The update is not work like upsert directly. You need to write an expression in the ID column. If your ID is not present in table then assign a new  GUID else provide existing GUID. 
     
    Note: Please mark verified, if it is useful for you 
  • CU24011932-0 Profile Picture
    6 on at
    @ankit_singhal Thank you. I want to make sure we understand. We are mapping in a GUID from another list output right now. Are you saying if we just use an expression formula instead that changes the behavior of the Update a Row action? Could we just put this in an expression instead or a special kind of expression?
  • Verified answer
    Lukas Kormuth Profile Picture
    7 on at
    Hello, it looks like Microsoft added separate action for this Upsert a row recently.
     

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 468

#2
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 332 Super User 2025 Season 2

Last 30 days Overall leaderboard