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 / How go avoid "apply to...
Power Automate
Unanswered

How go avoid "apply to each"

(0) ShareShare
ReportReport
Posted on by

Hello 

 

I am stuck with a current flow, where I want to contact the creator of a certain file.

The flow is triggered when a file is created, then the properties are checked (to get the name of the creator).

 

 As soon as I want to apply the creators e-mail address as an dynamic content, the whole thing gets wrapped in a "apply to each" loop an the output "value" is preset.

Philma_0-1634562819829.png

 

If i run the flow, it runs through but no e-mail is ever sent.

 

Does someone know an answer to this issue?

Categories:
I have the same question (0)
  • Verified answer
    ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @Anonymous 

    You are in a loop because Get Files can return more than 1 file.  You want to use Get file properties instead.

    See my example below - add a send and email after my Get File properties.

    image.png

     

  • Community Power Platform Member Profile Picture
    on at

    Hi Scott
    Thank you for your solution!

    FYI, I came across another option:

    I have set "Top Count" to 1, to avoid loading multiple files

    Philma_1-1634568107215.png

     

     

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard