Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

How to avoid apply to each

(0) ShareShare
ReportReport
Posted on by 2

Hi All.

 

Can anyone help me? When I tried to created the flow, which came out successful apart from I got apply to each and created record 3 times as show 

emornkui_0-1682411442296.png

How can I resolve this issue?

Many Thanks for all the help

Kui

 

  • v-wenjuan-msft Profile Picture
    Microsoft Employee on at
    Re: How to avoid apply to each

    Hi @emornkui ,

     

    You can use "Filter array" action to get specific record by ID.

     

    Community Support Team _ Wenjuan Zou

    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • emornkui Profile Picture
    2 on at
    Re: How to avoid apply to each

    Hi @v-wenjuan-msft 

    my problem was apply to each. I do not want the apply to each in my flow. How can I avoid this ? because if I get the related record from ID. Apply to each always input which I do not require.

    Many Thanks

    Emorn

     

  • v-wenjuan-msft Profile Picture
    Microsoft Employee on at
    Re: How to avoid apply to each

    Hi @emornkui ,

     

    Outputs from your trigger is an array which contain many objects, and if you want to get data from these objects, you will have to split them and get data one by one. That's how "Apply to each" works.

     

    Refer to below link for more introduction:

    Use the apply to each action in Power Automate to loop through an array of items. (contains video) - Power Automate | Microsoft Learn

     

    Community Support Team _ Wenjuan Zou

    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

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

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow