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 : t729LNQCkU4ciiB+WspjGd
Power Automate - Building Flows
Answered

Filter array returning empty in update flow

Like (0) ShareShare
ReportReport
Posted on 30 Nov 2020 03:12:06 by 2

Hi guys!

 

I have the following two Sharepoint Lists: 

01.png

In the list A01-CONTACTOS the field SERVER is filled up automatically with a formula applied over the field EMAIL_CORP.

 

I'm trying to setup a flow that will trigger when a new entry is created in A01-CONTACTOS or when an existing one is modified. The flow would lookup the corresponding RUT_ORG in the list A02-SERVIDORES according to the value for SERVER and update the field RUT_ORG in A01-CONTACTOS. The flow I made is as follows:

 

02b.png

Then the following condition applies:

03.png

 

 

However, the flow keeps on failing. On inspection of the test results I noticed that the output of my Filter array is returning empty [], as shown below:

 

04.png

It must be something simple that I'm missing, but I can't find my mistake. 

Can you give me a hand? any help is highly appreciated.
Regards!

Francisco

  • Verified answer
    Expiscornovus Profile Picture
    32,169 Most Valuable Professional on 30 Nov 2020 at 09:25:38
    Re: Filter array returning empty in update flow

    Hi @FranzRoss,

     

    I am seeing an item() in your Filter Array, however I don't see an apply to each loop, do you want to loop through that list? Or are you already filtering your Get Items by using an expression in the Filter query?

     

    If you already have a filter query in the get items, you could use this expression to get the first item of your list of the Get Items and use that in your Filter array action.

    body('Get_Items')['Value'][0]['SERVER']

     

    Hope this helps a bit.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete