cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Gautham001
Helper IV
Helper IV

Apply to each loop on output of a Filter Array Function

Hi All , 

 

I have a filter array function(which is inside a Apply to each/ForAll Loop) which returns a output with an array.

Gautham001_0-1617650539824.png

Input to "ForAll" loop - Outputs from a previous compose Action

Input to "apply to each"  loop - Outputs from the Filter Array Function ("FilteringUniquerows")

 

But i get stuck with this error , 

Gautham001_1-1617650595927.png

 

An example for what i'm trying to achieve , 

 

Output from compose action is a set of unique values coming from a table Ex: [2 ,5] 

 

Output of the filter array is a set of records which matches these values , 

Eg : 

ValueField1Field2
2Apples"A"
2Oranges"O"
5Kiwi"K"
5Avacado"AA"
5Berries"B"

 

I want to apply  a Apply to each/Forall loop on this table (from output of filter array) to continue in my flow with further actions but i'm stuck with the error mentioned.

 

Any idea or guidance on how to achieve this would be appreciated!

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @Gautham001,

 

It is an error about the wrong format in the Apply to each action input, the input data should be an array, not object.

Could you please share a screenshot of the FilteringUniquerows action to check if it has value?

 

Best Regards,
Community Support Team _ Lin Tu
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

1 REPLY 1
v-litu-msft
Community Support
Community Support

Hi @Gautham001,

 

It is an error about the wrong format in the Apply to each action input, the input data should be an array, not object.

Could you please share a screenshot of the FilteringUniquerows action to check if it has value?

 

Best Regards,
Community Support Team _ Lin Tu
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

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (46,231)