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

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (7,622)