cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Quwyr
Frequent Visitor

Power Automate Flow Trigger Results in Multiple Emails Sent

Dear all,

 

I hope you are well! 

 

I'm currently working on the Power Up Final App Challenge for which I am on the Power Automate part now. However, I can't seem to resolve this issue that I am experiencing.

 

Here's my current Power Automate Flow for reference.

Quwyr_0-1719385074284.png

 

In the Canvas app, the user will to select the row of the animal that they are interested to foster, and they will afterwards fill up the Fosterer Name and the "FosterClaimer" field will auto-populate with the Foster ID. 

Quwyr_1-1719385168841.png

 

Upon submission, the flow should run and the email should be sent out. However, I am getting 2 of the same emails being sent, of which I am not too sure why that is the case, and I've been stuck here for quite a while.

Quwyr_1-1719386438637.png

 

The below is my OnSuccess property for my form: 

 

 

Patch(
    Animals,
    LookUp(Animals,
    jh_animalsid = Form1.LastSubmit.Animals),
    {
        ShelterStatus: 'ShelterStatus (Animals)'.'Claimed for foster',
        DateClaimedforFoster: DateValue1.SelectedDate
    }
);
Notify("Form submitted successfully",NotificationType.Success)

 

 

Appreciate any help or guidance on this. 

 

Thank you.

 

1 ACCEPTED SOLUTION

Accepted Solutions
BCBuizer
Multi Super User
Multi Super User

Hi @Quwyr ,

 

There are multiple things that can cause this to happen, but the first thing I'd check is if the form is connected to the same data source as the Patch: this would result in two updates and hence two emails.

 

The flow run history of the flow that sends out the mails should yield some clues as well, so I'd check that if I were you.



Did you like my post? Please give it a thumbs up! Did I resolve your issue? Please click Accept as Solution to close the topic and so other members of the community can find solutions more easily.

View solution in original post

4 REPLIES 4
BCBuizer
Multi Super User
Multi Super User

Hi @Quwyr ,

 

There are multiple things that can cause this to happen, but the first thing I'd check is if the form is connected to the same data source as the Patch: this would result in two updates and hence two emails.

 

The flow run history of the flow that sends out the mails should yield some clues as well, so I'd check that if I were you.



Did you like my post? Please give it a thumbs up! Did I resolve your issue? Please click Accept as Solution to close the topic and so other members of the community can find solutions more easily.
Quwyr
Frequent Visitor

Hi @BCBuizer ,

 

Many thanks for your response! I have checked the Source for my form, and it does not seem like there is no DataSource connected:

Quwyr_0-1719406669592.png

 

I'll have an in-depth look at the flow run history. What would you suggest that I should take extra note of, in this case?

 



BCBuizer
Multi Super User
Multi Super User

Hi @Quwyr ,

 

Please restart Power Apps studio and check the DataSource property of the form again as it should not be blank. Perhaps something similar is going on as in this topic: Solved: Patch Formula with Entering Foster Claimer Text - Power Platform Community (microsoft.com)

 

As per my previous suggestion indeed check the flow history. This should reveal if it's the same flow that is triggered twice or there is a second flow that is triggered in the background.



Did you like my post? Please give it a thumbs up! Did I resolve your issue? Please click Accept as Solution to close the topic and so other members of the community can find solutions more easily.

Hi @BCBuizer ,

 

Thanks for your input! I went through the flow run history, and I added a filter for the 'Claimed for foster' status so that it would only be fired upon the status change of that column and it was resolved. 🙂 

 

Many thanks again! 

Helpful resources

Announcements

Important Update | Power Up Community READ ONLY July 22 – July 28

Dear Community Members, As you may have read, the Power Platform communities are transitioning to a new platform and to access will be set to READ-ONLY mode during the transition. Key DatesTo ensure current learners have adequate support in the final week of the cohort, the Power Up Program Community will transition to READ-ONLY mode starting July 22nd, the platform will transition to READ-ONLY mode until July 28th. Power Apps, Power Automate, and Power Pages communities will be read-only July 16-22, 2024.During this period, members will not be able to start new threads or Kudo, Comment, or Reply to any posts, but will be able to search and review past threads or solutions. On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities. Learners will be able to sign in to the new Power Up Program community experience, starting July 29th. If you registered for community using your learnwithpowerup account, you will not receive an email, but should be able to sign in successfully if you are signed in to My hub.  If you need help with your community account, please submit a request at aka.ms/PPCommSupport We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead! 

Learn what to expect in the Power Up Program

Since its inception in 2022, the Power Up Program has evolved based on feedback from learners and Microsoft Partners and customers. Today's Power Up learners can expect to learn the fundamentals of Microsoft Power Platform in the accelerated seven-week, video-based Power Up Maker course.   Hear from Principal Program Manager, Dimpi Gandhi to discover the latest enhancements and meet the Microsoft MVPs, Rory Neary and Charlie Phipps, who partnered with the Microsoft Power Up Program to create the Power Up Maker course to guide learners to use the Microsoft Power Platform to develop custom applications, build dazzling report dashboards, or create efficiencies through automation.  

Welcome to the Power Up Program Community

The Power Up Program is a free upskilling program where nontechnical people can learn the fundamentals of Microsoft Power Platform. The Power Up Maker course is a seven-week self-paced virtual learning plan that include video-based objectives featuring Power Apps, Power BI and Power Automate.  As a member of the Power Up Community, you can grow your skills and build connections. You can post questions to get help with the curriculum and hands-on exercises from experts and peers in the product boards.  Check out the Community Information & Feedback board to find help or provide feedback with the community experience, and please take time to post in the Social board to tell us more about yourself. If you're new to the Power Up Program and looking for information to register. You can sign up at PowerUp.Microsoft.com.

Users online (711)