cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Struggling with Arrays

Good evening

 

I have built a flow which searches a calendar to get dates for a particular meeting.

 

I then use an Append to array variable to collect the responses.

 

I then send an email with options which is supposed to present to the recipient which even they can choose.

 

However, out of the 4 events it finds, it will only allow me to present 0 and 1 to the email recipient. Please, can you help me add the other 2 user option choices?

 

1 - array.JPG2- array.JPG

First choice is variables('varStartTime')[0]

second choice is variables('varStartTime')[1]

I would like a 3 and 4th choice to add, how do i do that?

 

Any help is greatly appreciated

 

Allan

 

1 ACCEPTED SOLUTION

Accepted Solutions

What is the output of the "Append to array variable"? Do you have a separator value between the "Start Time" values you are inputting? You may need to concatenate your "Start Time" with a separator value such as a comma or semicolon. 

 

When the "Apply to each" loops through all the array values, it might stringing them all together in one massive output without any separator value.

View solution in original post

2 REPLIES 2

What is the output of the "Append to array variable"? Do you have a separator value between the "Start Time" values you are inputting? You may need to concatenate your "Start Time" with a separator value such as a comma or semicolon. 

 

When the "Apply to each" loops through all the array values, it might stringing them all together in one massive output without any separator value.

View solution in original post

@PowerBack19 

Thank you for the reply, your hint, made me look in a different area and I figured it out from there. I had limited my responses which had a different effect that i thought it would so i only ever saw 2 items come in.

 

Thank you for your time.

 

Allan

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (7,003)