web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : 3/gnKQ6No3oVuDb/uFQ0xq
Power Automate - Building Flows
Answered

Get Items Filter by Array?

Like (0) ShareShare
ReportReport
Posted on 14 May 2022 17:14:55 by

I'm currently having an issue meeting user requirements for an approval process.

 

We receive reports that have data such as a list of codes separated by comma delimiters. I need to extract this list (single line text field in SP list) and use it to match to another SP list containing email addresses matched with codes, so that the Get Items action returns a list of all the email addresses that have a code matching those in the original list.

 

I've tried to split the comma separated values into an array but then I can't match these to the second list as the codes in that list are also single line text so I get the error that I can't compare Array to String.

 

It's very possible I'm code blind at this point and can't see the forest for the trees but any suggestions to make this work? 

I have the same question (0)
  • Community Power Platform Member Profile Picture
    on 16 May 2022 at 10:22:42
    Re: Get Items Filter by Array?

    @takolota You're a legend! I knew it was staring me right in the face, for some reason I just didnt think to switch the fields in the Filter Array and check for the array containing the Get Items field. Thank you!

  • Verified answer
    takolota1 Profile Picture
    4,933 Moderator on 14 May 2022 at 18:10:23
    Re: Get Items Filter by Array?

    @Anonymous 

     

    As long as each code is unique, I’d think you could just use a Filter array action to get all the SP items where the array of codes contains that row’s code.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 954 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 650 Moderator

#3
trice602 Profile Picture

trice602 327 Super User 2025 Season 2

Last 30 days Overall leaderboard