cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

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
Highlighted
Community Support
Community Support

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.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

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.

View solution in original post

Highlighted
New Member

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

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (8,654)