web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Answered

Compose JSON

(0) ShareShare
ReportReport
Posted on by 13

I try to parse a JSON output from a get-job azure automation.

jaimehernandezp_0-1699927391219.png

 

 

the data is :


Mode : Process
ContextDirectory :
ContextFile :
CacheDirectory :
CacheFile :
KeyStoreFile :
Settings : {}

[
{
"Alias": "testauto",
"DisplayName": "Test Automate",

}

]

 

Use a compose with this expression 

 

json(join(skip(split(outputs('Data'), decodeUriComponent('%0A')), 9), decodeUriComponent('%0A')))

 

I got this error

 

jaimehernandezp_0-1699926973026.png

 

 

any suggestions are welcome 

Categories:
  • Verified answer
    v-yueyun-msft Profile Picture
    Microsoft Employee on at

    Hi , @jaimehernandezp 

    The error code is:

    vyueyunmsft_0-1699930575912.png

    This means your split() function's first parameter is using the 'Object' type. The correct type is the String type.

    So , you need to check the outputs('Data') retrun what's in your side ?

    You can check the run history for your 'Data' action output:

    vyueyunmsft_1-1699930707238.png

    In my side the output is an array type in Power Automate.

     

    If you still don't solve the problem, you can send me the output of your data action, and then provide me with the output data you want, so that I can help you better.

     

    Best Regards,

    Yueyun Zhang

     

  • jaimehernandezp Profile Picture
    13 on at

    Thank you it works

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard