Customer Engagement & Dynamics CRM Forum

Expand all | Collapse all

Power Automate Trigger

  • 1.  Power Automate Trigger

    Posted 20 days ago
    What would cause a single click of the save button in Dynamics to trigger a flow five times?  (Is that question within the realm of the group?)

    I've stripped down the flow so that it only contains the trigger and a compose.  I save an opportunity and it triggers this flow multiple times, but I'm not finding why.


    ------------------------------
    Andrew Draus
    AY McDonald
    Dubuque
    ------------------------------
    Academy - Online Interactive Learning from Experts


  • 2.  RE: Power Automate Trigger

    TOP CONTRIBUTOR
    Posted 19 days ago
    @Andrew Draus

    Do you have any other flows or classic workflows running that are updating the record? If the the flows is triggered on update, it could be that it is triggered by other flows or classic workflows.

    ------------------------------
    BR,
    Niels
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 3.  RE: Power Automate Trigger

    Posted 19 days ago
    I have very few flows; I'm just getting started with using them.  I made sure any others that could be triggered by updating a record in this entity were off.

    It is a random number of flows being triggered.  Sometimes it will be three, sometimes five, etc.  I stripped the flow down to just two steps, so nothing in there could be triggering it again.  Run history shows multiple runs all submitted at the same time - within seconds of each other:



    ------------------------------
    Andrew Draus
    AY McDonald
    Dubuque
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 4.  RE: Power Automate Trigger

    GOLD CONTRIBUTOR
    Posted 16 days ago

    Hi Andrew,

    you may have some classic flows in Dynamics enabled that trigger off a field update done by the modern flow.

    When, in turn, that update is completed, it might be the trigger for the modern flow to kick off again. You can try switching off all the classic and modern flows on the Opportunity entity and run this flow again. Let's see what that does.

    Can you post a screenshot of the trigger and the compose steps? I don't think it's in one of those, but we'll never know until we check.



    ------------------------------
    Rogier Vriezen
    CRM Consultant
    Amsterdam, Netherlands
    ------------------------------

    Academy - Online Interactive Learning from Experts


  • 5.  RE: Power Automate Trigger

    GOLD CONTRIBUTOR
    Posted 19 days ago

    Hi Andrew,

    Would you be comfortable posting a screenshot of your trigger and compose?

    It may be that the filtering attributes or the filtering conditions are the culprit here, or maybe your compose loops somehow? A screenshot with your definitions will help.

    Finally, could it be that the save option on your Dynamics record triggers workflows that, in their place, trigger the flow again?



    ------------------------------
    Rogier Vriezen
    CRM Consultant
    Amsterdam, Netherlands
    ------------------------------

    Academy - Online Interactive Learning from Experts


If you've found this thread useful, dive deeper into User Group community content by role