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
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 Kudoed Authors
Users Online
Currently online: 294 members 3,188 guests
Please welcome our newest community members: