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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Dataverse triggering m...
Power Automate
Unanswered

Dataverse triggering multiple flow runs over same record with same RowVersion

(0) ShareShare
ReportReport
Posted on by 725

I have a very straight forward Flow desire to inform a user when an Opportunity record of a Dataverse table has been Closed as Won.

I am aware that backend Dynamics processes as well as business process flows can do multiple updates to a Dataverse record causing a Power Automate Flow to run multiple times when you only want it to run once from a user experience.
That is why I am using a pattern to verify if the record triggering the flow has been updated since the triggering event based on the RowVersion of the triggering record compared to the versionnumber of a delayed retrieval of the same record:

Django_0-1628600823390.png

The condition is set to be true on:

 

equals(string(triggerBody()?['RowVersion']),string(body('Get_a_row_by_ID_-_ModifiedOpportunity')?['versionnumber']))

 

 if the outcome is not true, the record has been updated so this instance of the Flow run can stop --> trusting that the last instance  of a Flow run will have the same RowVersion as the last versionnumber --> working with the latest data of the record.

 

I have been using this pattern for a while now, but today I had two Flows triggered at the same time with no difference in the RowVersion of the triggering record:

Django_1-1628601084555.png

In the screenshot I am using the compare functionality of Visual Studio and the output of the triggering action of the Flow are exactly the same... how can a second Flow run be run over the same record with exactly the same data (including RowVersion) when the Flow should only run on Change type Modified. If the data (including RowVersion) is the same --> the record is not modified and a second Flow run should not be triggered right?

 

To verify, I am not mistaking Flow Runs --> a screenshot of the output of the delayed Get Row actions which actually shows that the two Flows are different:

Django_2-1628601647292.png

 

 

Categories:
I have the same question (0)
  • MicaelLev Profile Picture
    28 on at
    Re: Dataverse triggering multiple flow runs over same record with same RowVersion

    This is a old post but i am getting the exact same behavior. I have in my flow a cancel event to exit so the flow is not running for no reason but there is infinit loop triggering the same rowVersion and same updated time : 

    MicaelLev_0-1691092266658.png

     

    What is going on? it will not happen every time, but this example shows 2 flows stucks that keep running every minute even if they are cancelled.

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard