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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Double triggers when u...
Power Apps
Unanswered

Double triggers when using CDC 'When a record is updated'

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Team

 

I'm using the trigger 'When a record is updated' for CDS, but somehow it always triggers two identical flow runs ( see screenshot)

This is causing issues because one of the actions im using is to update an item, which results in multiple 'users' trying to update the item at the same time. This is the error that i get:

 

{
"status": 400,
"message": "Save Conflict.\n\nYour changes conflict with those made concurrently by another user. If you want your changes to be applied, click Back in your Web browser, refresh the page, and resubmit your changes.\r\nclientRequestId"
}

How can i avoid from both runs to happen or create a condition that stops the 2nd one from continuining?

Thank you

Categories:
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Could you please share a screenshot about your flow's configuration?

    Do you use the "Update a record" action to update the records in same Entity in your flow?

     

    Based on the issue that you mentioned, I think this issue is related to the "Update a record" action in your flow. The 'When a record is updated' trigger would be fired when an existing item is modifed in your CDS Entity. The "Update a record" action in your flow would fire the 'When a record is updated' trigger again.

     

    As an alternative solution, you could add a "Two Options" type column in your CDS Entity to record if the flow has been run once. You could consider add a Condition under the 'When a record is updated' trigger in your flow as below:6.JPG

     

    In addition, if the user wants to edit records in your Entity, please ask him to update the IsOverdue (Two Options type column) to No along with other updates.

     

    Please consider take a try with above solution, check if the issue is solved.

     

    Best regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you for the response but I'm not able to make changes to the entity since it's the approval entity.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard