cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
memox
Regular Visitor

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
Regular Visitor

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
Regular Visitor

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!

 

 

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,172)