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 / Filter Get Lists Not W...
Power Automate
Unanswered

Filter Get Lists Not Working

(0) ShareShare
ReportReport
Posted on by 1,387 Moderator

I am trying to see if a list exists by name, and if not, create that list.

 

I am using Get all lists and libraries for my given Site:

IPC_ahaas_2-1665417428970.png

 

and it works:

IPC_ahaas_1-1665417387109.png

 

Then I use Filter array where Type equals 100:

IPC_ahaas_3-1665417470965.png

 

I get zero results:

IPC_ahaas_0-1665417734763.png

 

Not sure why, this seemed pretty straightforward.

I tried putting the results in an Array variable first, then filtering that Array and got the same issue.

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

    Hey @IPC_ahaas 

    I also tried all the things and they didnt work. Pretty surprised.

    I did try this and it worked:

    Sundeep_Malik_0-1665420864746.png

    Btw what does that type mean?

     

  • IPC_ahaas Profile Picture
    1,387 Moderator on at

    Yeah, it doesn't make any sense that it doesn't work.

     

    The "Type" distinguishes a List vs a Document Library which is the silly way SharePoint still considers them "Lists". From my testing, an actual "List" has a "Type" of 100. A "Document Library" has a "Type" of 101.

     

  • Verified answer
    v-liwei-msft Profile Picture
    on at

    Hi @IPC_ahaas 

     

    Could you please tell me:
    Do you want to get all Lists in Site Address instead of librares?

    1. You can use the Get lists action directly. 

    vliweimsft_0-1665471088325.jpeg

     

    2. If you want to use Get all lists and libraries and then filter array, you need to input 100 as string type.

    vliweimsft_1-1665471100577.png

     

    Best Regards,

    Levi

     

  • IPC_ahaas Profile Picture
    1,387 Moderator on at

    Well, that solves my problem of needing to filter for 100, as now it only pulls Lists with a value of 100. The Filter still doesn't work oddly if you try it. You'll get a blank array, but I don't need it now as I was eventually looking for (true) Lists that had a specific name.

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

#2
Tomac Profile Picture

Tomac 427 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard