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

I can't set values to an Array variable

Hi guys,

 

I am creating a flow from 0 and i need to assign values to an array but it keeps sending error as you can see below:

aray issue1.jpgarray issues2.jpg

 

 

 The example above was set as testing purposes, but as initial expression i am trying to do something like this:

                   array(split(variables('submitTime'),'/'))

 

in this case the variable named as "submitTime" is a string type.

 

...however the issue above still persist no matther how i set this.

 

 

Can please someone point me to the correct sintaxis for this?

 

Thanks and regards!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
memox
Level: Powered On

Re: I can't set values to an Array variable

I just solved it. Since i'm kind of newbie handling arrays with Microsoft flows i didn't know that you need to use a "Compose" to do the split method before assigning those result values in the Array variable:

resolved array.jpg

 

Regards!

 

 

 

View solution in original post

1 REPLY 1
memox
Level: Powered On

Re: I can't set values to an Array variable

I just solved it. Since i'm kind of newbie handling arrays with Microsoft flows i didn't know that you need to use a "Compose" to do the split method before assigning those result values in the Array variable:

resolved array.jpg

 

Regards!

 

 

 

View solution in original post

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

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

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 (6,212)