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 : p7MonjosP78vBKfyRmXX7/
Power Automate - General Discussion
Unanswered

Flow is triggering twice

Like (0) ShareShare
ReportReport
Posted on 15 Jun 2022 09:50:39 by 66

I have a Flow that sends an email after a Microsoft Form is completed. It has worked thousands of times for over a year with no issues. Neither the Form, nor the Flow, has been changed in that time.

 

All of a sudden, the Flow is being triggered twice - even though the Form is only submitted once. This can be seen below.

 

vpatel55_0-1655285957408.png

 

Here is the Flow, though I'm thinking there can't be an issue here as it is the trigger that is occurring twice, and the Flow is just being triggered twice as a result.

 

Any help would be appreciated.

 

Untitled2.png

 

I have the same question (0)
  • TrentonKilbey Profile Picture
    4 on 27 Nov 2023 at 16:56:39
    Re: Flow is triggering twice

    I looked into this again today, and it looks like my solution solved my problem incorrectly. It turns out another user that I had shared the flow with had copied the flow and renamed it something else. 

     

    As a result, two flows were exact copies of one another, triggering independently off the same "new response" from the same form.

    Once I could find and disable the duplicate, I no longer needed the Trigger Control.

     

    Yours seems to be a different issue because you have duplicates in the same flow from your picture.

  • Mayank_Yadav Profile Picture
    56 on 27 Nov 2023 at 10:01:35
    Re: Flow is triggering twice

    I even Created my flow again , and the same problem persists ,

    Power Automate has been causing a lot of problems lately,

     

    Anyone , please help.

  • Mayank_Yadav Profile Picture
    56 on 27 Nov 2023 at 09:59:00
    Re: Flow is triggering twice

    Hi,

    Can you provide the Complete steps with the inputs on how you did that,

    I followed your Screenshot but I realized If I run the flow then the variable will be initialized for time the flow is triggered, how will it remember the same for the Re-run/simultaneous run of the flow, if during the re-run the variable will be again initialized to false,

     

     By Re-run of flow I mean that flow triggers simultaneously one after like the below uploaded screenshot

    ( I have checked that It is the only running flow at the moment in the environment, all other flows are turned off)

    FLOW RERUN.jpg

  • TrentonKilbey Profile Picture
    4 on 20 Nov 2023 at 23:42:40
    Re: Flow is triggering twice

    I was able to solve this by asking ChatGPT as I had the same issue. My flow that had worked fine for several years suddenly started creating duplicates tasks when the flow was triggered.

     

    When I would re-run the flow manually in Power Automate, the flow would only trigger once. So it appeared to be some sort of issue with double triggering from the form input. 

     

    Please see the ChatGPT response below:

    To prevent your flows from triggering twice and causing duplicates in Microsoft Power Automate (formerly known as Microsoft Flow), you can use a combination of techniques and conditions. Here's a common approach to achieve this:

    1. Initialize a Variable: Start by initializing a variable in your flow. This variable will act as a flag to check whether the flow has already been triggered or not.

      a. Go to the "Data" section in your flow. b. Click on "Variables" and then "Add a variable." c. Name your variable (e.g., "FlowTriggered"). d. Set the initial value to a default value (e.g., false).

    2. Add a Condition: After initializing the variable, add a condition before the main actions of your flow. This condition will check the value of the variable to determine whether the flow should proceed.

      a. In your flow, add a "Condition" action. b. Configure the condition to check the value of the "FlowTriggered" variable. c. If the variable is set to true (indicating that the flow has already been triggered), you can exit the flow or perform some other action to handle duplicates. Otherwise, proceed with the main flow actions.

    3. Update Variable Value: After the condition, if the flow should proceed, set the value of the "FlowTriggered" variable to true. This marks the flow as triggered.

      a. Add an action to update the "FlowTriggered" variable. b. Set the variable's value to true.

    4. Complete Your Flow: Continue with the main actions of your flow.

    I followed the steps and added a variable to track whether the flow was already running and prevented the duplication.

    Hope this helps!

    TrentonKilbey_0-1700523721649.png

     



  • AgainOpen Profile Picture
    102 on 18 May 2023 at 11:49:52
    Re: Flow is triggering twice

    Same Here! I created a flow in December last year that has been working OK and suddenly, without changing the flow - it started duplicating and running twice for the same form. And i cannot find a way to get it to work OK.

    😞 

  • RobElliott Profile Picture
    10,208 Super User 2025 Season 2 on 11 Nov 2022 at 09:14:48
    Re: Flow is triggering twice

    @vpatel55 one of the things I noticed was that your flow had the get response details inside an apply to each. This is not the correct way to build it. Immediately after the When a new response is submitted trigger you should have the get response details action. No apply to each. And logically, why would it need an apply to each as only 1 response is being looked at each time? I think you must have originally created the flow from the forms template which has had this rogue apply to each for at least 4 years and has never been corrected. It doesn't always, but can cause the sort of problem you experienced.

  • vpatel55 Profile Picture
    66 on 11 Nov 2022 at 09:07:10
    Re: Flow is triggering twice

    Unfortunately so 😞

  • dan_downey Profile Picture
    10 on 11 Nov 2022 at 09:06:00
    Re: Flow is triggering twice

    so you deleted the old flow and had to create a new one? Crazy

     

  • vpatel55 Profile Picture
    66 on 11 Nov 2022 at 09:03:11
    Re: Flow is triggering twice

    @dan_downey I'm afraid not, I had to rebuild it all 😞

  • dan_downey Profile Picture
    10 on 11 Nov 2022 at 09:00:54
    Re: Flow is triggering twice

    Hi,

     

    did you manage to solve this as this now happening to me.  I have not changed the form or flow either. Thanks

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 736 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 396 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 339

Last 30 days Overall leaderboard
Loading complete