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

Notifications

Announcements

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:
I have the same question (0)
  • Verified answer
    v-yueyun-msft Profile Picture
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard