Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

What does test do? Flow ran successfully, but no email.

(0) ShareShare
ReportReport
Posted on by

I just created a "Happy birthday email to employees" flow and did a test with my own email about 30 minutes ago. It said "Flow ran successfully". I have yet to receive an email though, but I have the birthdate as today. When I select Test Flow > Perform Trigger Action, will that still send an email to the person who's birthdate is shown as being today? Or is the test just to confirm that the flow will function properly?

 

Test.JPG

  • v-yuazh-msft Profile Picture
    on at
    Re: What does test do? Flow ran successfully, but no email.

    Hi @Anonymous ,

     

    Your flow run failed at the "Send an email" action, and the expression in the condition is works, could you please share a screenshot of the configuration of your "Send an email" action in the flow?

     

    Best regards,

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    on at
    Re: What does test do? Flow ran successfully, but no email.

    @v-yuazh-msft 

    I tried to implement your condition and it came back as failed.

    Here is the edit:

    test 2.JPG

     

    Here is the flow once I tested:

    test.JPG

  • Community Power Platform Member Profile Picture
    on at
    Re: What does test do? Flow ran successfully, but no email.

    @v-yuazh-msft and @abm

     

    Also, here is a screenshot of my list in SharePoint.

    Test.JPG

  • Community Power Platform Member Profile Picture
    on at
    Re: What does test do? Flow ran successfully, but no email.

    @v-yuazh-msft and @abm,

    My condition is:

    equals(items('Apply_to_each')?['Birthday_x0020_Date'], formatDateTime(utcNow(), 'MM-dd')) is equal to True.
     
    The original template I pulled from microsoft "Happy birthday email to employees" kept failing at "Condition" so I found a solution in another post yesterday to make the flow run successfully.

     

    Test.JPG

  • v-yuazh-msft Profile Picture
    on at
    Re: What does test do? Flow ran successfully, but no email.

    Hi @Anonymous ,

     

    Could you please share more details about the expression in your condition?

     

    I afraid that there is issue on the expression in your Condition, please take a try to create the condition with expression below:

    Capture.PNG

     

    The expression in the flow as below:

    formatDateTime(utcNow(),'yyyy-MM-dd')

    The flow would run successfully as below:

    Capture1.PNG

     

    Best regards,

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • abm abm Profile Picture
    32,464 Most Valuable Professional on at
    Re: What does test do? Flow ran successfully, but no email.

    Hi,

     

    Thanks for the picture. Looks like there are two records found in your condition and it says failed. Could you expand the condition and check. It's difficult to say from the picture.

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at
    Re: What does test do? Flow ran successfully, but no email.

    And here is a picture of the flow completed.

     

    Test.JPG

  • Community Power Platform Member Profile Picture
    on at
    Re: What does test do? Flow ran successfully, but no email.

    Hi @abm,

     

    I selected the first option to manually trigger the test. So my question is, would that send an email to the people whose birthday is listed as today? I assume doing the test just takes away the "Recurrence" and will send an email according to the following conditions. Thanks!

     

    Test.JPG

  • abm abm Profile Picture
    32,464 Most Valuable Professional on at
    Re: What does test do? Flow ran successfully, but no email.

    Hi @Anonymous ,

     

    The first option is manually trigger the test by doing the action that triggers the flow.

     

    The second option is use data from previous runs to perform the test.

     

    If a condition is not true that doesn't mean that the flow is failed. It's depends on the logic of the flow actions.

     

    You could look the flow history to see which are the steps ran successfully.

     

    Also if you could show a screen shot of your flow that will be really helpful.

     

    If you have any questions please let me know.

     

    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

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,653 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow