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 Array syntax fo...
Power Automate
Unanswered

Filter Array syntax for a SharePoint choice field that allows multiple values

(0) ShareShare
ReportReport
Posted on by 546

Hi everyone,

 

I could use some help.

 

I have a workflow the loops through a list looking for items that match today's date.  It sends an email to the department administrator for all items in the list that matches the condition.  It was working fine, until the customer asked that one of the choice fields be allowed to have multiple values.  

filter.jpg

The email that comes to the administrator does not display a Building any longer.  

smorley_0-1680634939196.png

 

In addition, it also sends an email to the individual.  I used a compose statement to set a variable for the details of that email.

smorley_1-1680635118501.png

Here are the results of the email.  

smorley_2-1680635150923.png

 

Categories:
I have the same question (0)
  • Verified answer
    abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @smorley 

     

    I made a video based on this. Please have a look and comment.

     

    https://youtu.be/80EGtZGP5DA

     

    Thanks

  • smorley Profile Picture
    546 on at

    @abm I can't believe you made a video.  Thanks so much, it worked like a charm!

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @smorley 

     

    Glad to hear that all working.

     

    Thanks

  • smorley Profile Picture
    546 on at

    Sorry @abm I spoke to soon.  In testing it, the workflow loops through the list and appends to string variable, all the records that match the condition.

    smorley_0-1680710893406.png

    Here's what the list looks like:

    smorley_1-1680711089943.png

    After the Get Items action, I added the Parse JSON and append to string steps like you suggested.

    smorley_2-1680711197805.png

     

     

    smorley_4-1680711252764.png

     

    smorley_7-1680711529322.png

     

    smorley_8-1680711557488.png

     

    smorley_9-1680711579961.png

    I think the Append to String Variable is in the wrong place.

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @smorley 

     

    Not sure your screenshots are in the right order. Could you please post a new screenshot of the full flow with the mappings. Right now I can't figure out the order.

  • smorley Profile Picture
    546 on at

    Sorry @abm my snipping tool was misbehaving.  

    Screen 1

    smorley_0-1680712504363.png

    Screen 2

    smorley_1-1680712553607.png

    Screen 3

    smorley_2-1680712592875.png

    Screen 4

    smorley_3-1680712646063.png

    Screen 5

    smorley_4-1680712691303.png

    Screen 6

    smorley_5-1680712731402.png

    Screen 7

    smorley_6-1680712782609.png

    Screen 8

    smorley_7-1680712812325.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