Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Flow with a Dataverse trigger 'When a row is added, modified or deleted'

(0) ShareShare
ReportReport
Posted on by

I have created a flow that triggers when a Dataverse row is added or modified with scope of User. It is triggering constantly, like every couple of seconds. I assume there is a process in Dataverse that is constantly updating the table? I only want it to be triggered when a row is added/modified by a user. 

  • Community Power Platform Member Profile Picture
    on at
    Re: Flow with a Dataverse trigger 'When a row is added, modified or deleted'

    Hi @v-jefferni, you are spot on, the flow was updating a Dataverse row and would re-trigger the flow in an infinite loop.

    I have read suggestions around having an additional column and then a trigger condition to test that value

    @equals(triggerBody()?['oss_updated'], 1) and setting the same column value in the update row to 0. But I see some risk here still if there is an error in the flow and the column doesn't get updated.

    I am inclined to have the user run the flow manually from an Command button instead.

  • v-jefferni Profile Picture
    on at
    Re: Flow with a Dataverse trigger 'When a row is added, modified or deleted'

    Hi @Anonymous ,

     

    Could you please share more details about your flow? Are you using an Update a row action in your flow, which will cause infinite loop?

     

    Best regards,

  • Community Power Platform Member Profile Picture
    on at
    Re: Flow with a Dataverse trigger 'When a row is added, modified or deleted'

    Hi @ArchitectMadhan, thanks for your reply. Thinking about this again I believe it is constantly firing because the flow itself is modifying the same record, like a circular reference. I need a way to run a flow once when a record is added/modified and to be able to update the same record within the flow.

  • ArchitectMadhan Profile Picture
    1,580 on at
    Re: Flow with a Dataverse trigger 'When a row is added, modified or deleted'

    Hi @Anonymous ,

    In your case, it might have triggered for all the field update or create. Please make sure you use the trigger condition based on which field update you need to trigger the flow.

    ArchitectMadhan_0-1653475541669.pngArchitectMadhan_1-1653475574413.png

    In the below trigger condition, I have just used the status field is true.

    ArchitectMadhan_2-1653475700817.png

    Based on the above condition the flow will be triggered, if only the status is 1 (on updating the status field). you can also use multiple fields as well.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,026 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow