Skip to main content

Notifications

Power Automate - General Discussion
Answered

Email problem in flow

(0) ShareShare
ReportReport
Posted on by

I have created a flow, it's working fine but it send me 2 emails. i need only one, how to fix that? i have marked the error in screenshot.email error 2.png

Categories:
  • Verified answer
    Tom_Slosse Profile Picture
    Tom_Slosse 1,430 on at
    Re: Email problem in flow

    @Anonymous 

     

    String Array var.PNG

    In the value you put in your number of facilities dynamic content from sharepoint. 

    You can put a comma behind your dynamic content so every value is seperated with a comma from eachother

     

    Hope this helps

     

    Kind regards

     

     

    Tom

  • Re: Email problem in flow

    @Tom_Slosse 
    Can you show me how to do that?

  • Tom_Slosse Profile Picture
    Tom_Slosse 1,430 on at
    Re: Email problem in flow

    @Anonymous 

     

     

    I think the issue lays with the field number of incidents, if the item contains 2 incidents you will get two mails.

     

    You could fix that by making a string array variable and loop through the number of incidents and then add the output of that variable to your mail so you only get one mail with the different incidents.

     

    But I don't know what all the apply to eaches are for so.

     

     

    Kind regards

     

    Tom

  • Re: Email problem in flow

    @Tom_Slosse  sharepoint List 

  • Tom_Slosse Profile Picture
    Tom_Slosse 1,430 on at
    Re: Email problem in flow

    @Anonymous 

     

     

    Where are the values in the apply to eaches coming from?

     

    Kind regards

     

    Tom

  • Re: Email problem in flow

    @Tom_Slosse emailaction.png

  • Tom_Slosse Profile Picture
    Tom_Slosse 1,430 on at
    Re: Email problem in flow

    Hey @Anonymous 

     

    That is because a value that you send within the email is a field where multiple values are present.

    Could share a screenshot of the email action completely and maybe some actions before that.

     

    Kind regards

     

    Tom

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard