cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Utbildning
Level: Power Up

Using FilterArray shows no input

I'm using a Flow to create an Email contact after sending a confirmation email from a mailaddress supplied from a Forms-form.

 

Most of my settings work as intended, but if a person signes up several times I get multiple contacts for the same user, so I wanted to prevent that.

 

My plan was to get all contacts, filter out any matching the same email that the user has supplied, and if the list is empty (no contact exists) then create the contact.

As seen in the image, I get contacts, but when supplying them to FilterArray it doesn't register anything as input.

 flow01.PNGflow02.PNG

 

 

 

 

Any ideas on what else to try?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Using FilterArray shows no input

Hi @Utbildning,

 

Could you please share a full screenshot of your flow’s configuration?
I have made a test on my side and don’t have the issue that you mentioned. Besides, I think there is something wrong with your formula in “Filter array” action. According to the formula that you provided, I could not filter contacts array within “Filter array” action.

My flow’s configuration as below:6.JPG

Within “Filter array” action, click “Edit in advanced mode”, type the following formula:

 

@equals(item()?['EmailAddresses']?[0]?['Address'], 'Test2@xxxxxxxxxxxx.com')

 

 Note: 'Test2@xxxxxxxxxxxx.com' is an example email address.

 

The flow works successfully as below:7.JPG

 

Please check if you have filled proper value within From field of “Filter array” action.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 REPLIES 2
Community Support Team
Community Support Team

Re: Using FilterArray shows no input

Hi @Utbildning,

 

Could you please share a full screenshot of your flow’s configuration?
I have made a test on my side and don’t have the issue that you mentioned. Besides, I think there is something wrong with your formula in “Filter array” action. According to the formula that you provided, I could not filter contacts array within “Filter array” action.

My flow’s configuration as below:6.JPG

Within “Filter array” action, click “Edit in advanced mode”, type the following formula:

 

@equals(item()?['EmailAddresses']?[0]?['Address'], 'Test2@xxxxxxxxxxxx.com')

 

 Note: 'Test2@xxxxxxxxxxxx.com' is an example email address.

 

The flow works successfully as below:7.JPG

 

Please check if you have filled proper value within From field of “Filter array” action.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Utbildning
Level: Power Up

Re: Using FilterArray shows no input

Hi @v-xida-msft

Thank you so much for your reply. The error in question waas indeed the way I had constructed my formula. By using your formula everything works as expected.

 

Thank you again, a greatly apreciate it!

 

Best regards

Utbildning

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 265 members 4,384 guests
Please welcome our newest community members: