cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

"Apply to Each" on array output of Custom Connector

I've created a custom connector that returns an array of integers (work items relates to a VSTS build)

When I run an "Apply to each" after my custom step, it's running the correct number of times but always with the same number

 

This is the last run log that shows the problem:

 

Flow Run.png

This is the options I have for the input to the foreach:

Flow Apply To Each Config.png

This is the options I have for the "id" param of the task inside the foreach:

Flow SubTask Config.png

 

I'm probably doing something really simple wrong but the documentation on how to work with arrays in custom connectors appears to not exist.

 

Thanks in advance.

 

Simon

2 REPLIES 2
v-yamao-msft
Community Support
Community Support

Hi bacon1986,

 

It seems there’s a UI issue with displaying the outputs of Apply to each. The flow has run correctly, but the pager at the top is not advancing through the iterations.


I will keep an eye on this issue and back to you once I got any response on this issue.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Thanks.

Having run another build you're right and it is running correctly just the UI is showing incorrectly.

 

I've re-laballed the post to "I Found a Bug" but can't see a way to move it.

 

Thanks

 

Simon

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,130)