cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Highlighted
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.

View solution in original post

2 REPLIES 2
Highlighted
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.

View solution in original post

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

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

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!

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 Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (5,003)