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 / Use Output from Filter...
Power Automate
Unanswered

Use Output from Filter Array

(0) ShareShare
ReportReport
Posted on by 11

I'm trying to create a flow that generates a report based on a filtered SharePoint list. I was able to do this on another flow, but I can't seem to use the data from my Filter Array to create the new report. After some googling, I saw that I have to use the Parse JSON command, but I'm getting the following error: "Invalid type. Expected Object by got Array."

 

I've seen some solutions for using 1-2 variables from a Filter Array, but I want access to all of them. What do I need to do to be able to use the output from the Filter Array command? 

 

Here's the overview of my flow:

kguidry_0-1670858736000.png

Here's the error:

kguidry_1-1670858786262.png

 

Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,484 on at

    Hey @kguidry 

     

    Copy the entire data your getting in input of above parse json in the run history.

    Then edit your flow. Paste the data in generate from sample of parse json. Now I dont think you will get the same error.

     

    Sundeep_Malik_0-1670863766389.png

     

    Sundeep_Malik_1-1670863846434.png

     

    Sundeep_Malik_2-1670863886139.png

     

    I hope this will help. 🙂

  • kguidry Profile Picture
    11 on at

    I still receive the same error "Invalid type. Expected Object but got Array."

     

  • grantjenkins Profile Picture
    11,063 Moderator on at

    @kguidry Assuming Filter by Status is a Filter array - the output of that should be an array of items.

     

    Run your flow then copy the entire output from your Filter by Status. Then go back into Edit mode and within your Parse JSON, click on Generate from sample and paste in the output you just copied. This should generate a schema based on your Filter array.

  • Verified answer
    kguidry Profile Picture
    11 on at

    I abandoned using the Filter Array and instead was able to filter using the "Get Items" action. 

    kguidry_0-1672750103914.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 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