cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate I
Advocate I

Convert (json) string to array

So I'm trying flow that triggers on change file in dropbox, file context is

{"lorem5": "ipsum"}

I would like to process it then as an array. I tried compose action where I added file content. And then in Apply to each I tried output as json('{}Outputs'), but was unable to get it working.

 

Is it somehow possible?

Do these https://docs.microsoft.com/en-us/rest/api/logic/definition-language apply to MS Flow? And if so, what action i can use these function and how exactly to use them?

 

EDIT: i guess i made it to made json, but for each is still not working as it can't convert json to array

https://dl.dropboxusercontent.com/u/16550256/flow%20json.png

https://dl.dropboxusercontent.com/u/16550256/flowjson2.png

 

BTW when i tried parse function a get error The template function 'parse' is no longer supported in schema version '2016-06-01'. It has been replaced by the 'json' function since version '2015-08-01-preview'

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Advocate I
Advocate I

So it turns out it was missformated json, using this as test array ["lorem", "ipsum"] it works.

View solution in original post

1 REPLY 1
Highlighted
Advocate I
Advocate I

So it turns out it was missformated json, using this as test array ["lorem", "ipsum"] it works.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (10,904)