cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Elohelae
Level: Powered On

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
Highlighted
PowerBack19
Level 8

Re: Struggling with Arrays

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
Highlighted
PowerBack19
Level 8

Re: Struggling with Arrays

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

Elohelae
Level: Powered On

Re: Struggling with Arrays

@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
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!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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 (Last 30 Days)
Users online (5,343)