cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (7,668)