Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

error in using (apply to each) in power automate

(0) ShareShare
ReportReport
Posted on by

The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body/resourceData/responseId']' is of type 'Integer'. The result must be a valid array.

 

 

 

what is that mean ?? 

  • v-liwei-msft Profile Picture
    on at
    Re: error in using (apply to each) in power automate

    Hi @shaikha93 

     

     

    Totally agree with Sundeep_Malik's comment.

    Apply to each is an action for the array, its role is to traverse each record in the array.

    If you want to use Apply to each, make sure the data you fill is an array and nothing else.

    You can provide screenshots of your needs and process so that we can help you better.

     I think this link will help you a lot:

    manueltgomes.com

     

    Best Regards,

    Levi

  • Sundeep_Malik Profile Picture
    6,480 on at
    Re: error in using (apply to each) in power automate

    Hey @shaikha93 

    In the above error it clearly states it is getting an integer value, instead of array. Can you share flow steps so I can help you in a better way.

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

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,948 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow