cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
akharns
Level 8

Initialize Array

This should be easy.  I am trying Initialize Variable, type array, with the value ['20191001', '20191005'].  It thinks this is a string value.  What am I doing wrong?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Initialize Array

Hi @akharns,

 

Please use the double quotes instead of single quotes:Annotation 2019-10-14 155005.png

 

Annotation 2019-10-14 155019.png

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

4 REPLIES 4
Super User
Super User

Re: Initialize Array

@akharns 

Try removing the single quotes around your numbers.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
akharns
Level 8

Re: Initialize Array

Then I can't force it to see the array elements as strings?

Super User
Super User

Re: Initialize Array

Hi @akharns 

 

You can intialise the array like @ScottShearer  mentioned. Later when you want to use these values as string then use the flow expression string function for conversion.

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



Community Support Team
Community Support Team

Re: Initialize Array

Hi @akharns,

 

Please use the double quotes instead of single quotes:Annotation 2019-10-14 155005.png

 

Annotation 2019-10-14 155019.png

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
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

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!

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
Users online (5,791)