web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow says successfully...
Power Automate
Unanswered

Flow says successfully but nothing happen

(0) ShareShare
ReportReport
Posted on by 4

Hi All,

 

I'm trying to send automated emails with attachment here is my flow.

 

awillians26_0-1678135377786.png

awillians26_2-1678135447344.png

 

 

When I run nothing happens here is where the Power automate should get the file from.

 

 

Categories:
I have the same question (0)
  • v-liwei-msft Profile Picture
    on at

    Hi @awillians26 

     

    Could you please show a screenshot of flow's run history?

     

    Best Regards,

    Levi

  • awillians26 Profile Picture
    4 on at

    Here we go 

    awillians26_0-1678207146092.png

    Here is the flow again 

    awillians26_1-1678207198322.png

     

  • v-liwei-msft Profile Picture
    on at

    Hi @awillians26 

     

    According to the screenshot, the reason for the problem is that in the condition, the displayname of the Onedirve file is not equal to the Attachment in Excel.
    The displayname of the Onedirve file returns the filename with a suffix, which I'm guessing might be the reason it's different from Attachment.
    You can add a Compose, check the displayname of the Onedirve file, and compare it with Excel to see if it is equal.

    vliweimsft_0-1678240271017.png

    vliweimsft_1-1678240307953.png

     

    Best Regards,

    Levi

     

  • awillians26 Profile Picture
    4 on at

    It did not work, but I believe its because the file I want to send are not there. See my screenshot

    awillians26_1-1678308225782.png

     

     

  • v-liwei-msft Profile Picture
    on at

    Hi @awillians26 

     

    Attachment is a complete path as shown in your screenshot.
    The displayname of a file is just a filename, which is why they are not equal.

     

    Best Regards,

    Levi

  • David_MA Profile Picture
    12,966 Super User 2025 Season 2 on at

    I think you just need to go one level deeper in your Apply to each so that it first goes through each row in your spreadsheet, and checks the condition on each file in the folder. Like this:

    David_MA_0-1678736272188.png

    However, doing this is going to be slow if there are a lot of items. You can speed this up by creating two arrays from your two sources. Follow your list rows action and list files actions with a select statement and put the value you want to compare as the selected item in each and give each a common name such as Row. For example:

    David_MA_1-1678737244024.png

    Then your apply to each, you want the first Output to be the Output of the Select Excel. Then in your condition, the first part will use the Output of the Select Files and you will use the logic contains Current item:

    David_MA_2-1678737349012.png

    I used a compose action in the Yes and No segments of the condition just to show that it works by outputting the value of the current item. To increase performance, turn on the concurrency control in the apply to each.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard