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 Platform Community / Forums / Power Apps / Few JSON string and ta...
Power Apps
Answered

Few JSON string and tables

(0) ShareShare
ReportReport
Posted on by 170

Hi guys

 

I would like to get table from JSON String.

So there are my 3 strings and I run Power Automate Flow for each String, 

ClearCollect(Expences; JSONParse.Run(DataCardValue73.Text;"Expences"));;
ClearCollect(Cars; JSONParseCars.Run(DataCardValue74.Text;"Cars"));;
ClearCollect(Employees; JSONParse.Run(DataCardValue75.Text;"Employees"))

 

Then parse JSON, Compose body and Response this table back.

shnurich_0-1623244449835.pngshnurich_1-1623244524459.png

 

And it works, but only for first string.

So what i got for Expences tab:

shnurich_0-1623244051205.png

 

What I got for Cars:

this table should have only two fields: Number and Car, but somehow two fields from expences tab also here?! WTF?
And field Car is empty...

The same problem whit third tab

shnurich_1-1623244086972.png

 

Power Automate returned right data, but PowerApps transform wrong fields

Do you know how fix it?

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    68,851 Most Valuable Professional on at

    If you are using just one Parse Json action in the flow that is the problem.  For Parse JSON to work properly you need to load a schema that matches the specific input.  Since the schema is probably different for all three tables you can't use the same Parse JSON for all three.  The same schema is required for the HTTP response to return the JSON to Power Apps.  So you can't use a single flow for three different JSON strings.  Each flow needs to be specific for the JSON being passed to it. 

  • CU09100753-0 Profile Picture
    170 on at

    Here also everithing ok.

    For every string - another JSON schema and connectors

    Also i create another flow for second string... and result the same. 

    shnurich_0-1623245183685.png

     

  • Verified answer
    Pstork1 Profile Picture
    68,851 Most Valuable Professional on at

    You can't have 3 http responses in one flow.  When you add it to Power Apps it uses the JSON schema from the HTTP response to know what it should be getting back.  There is no way to accomplish what you want with one flow.  You have to have three separate flows, one for each schema response.

  • CU09100753-0 Profile Picture
    170 on at

    Ok, I see

     

    I did it, but it didn't work,

    Now just update schema and it works, 

    Thank U, Bruce Wayne

     

     

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 405 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 280 Super User 2025 Season 2

#3
Kalathiya Profile Picture

Kalathiya 272

Last 30 days Overall leaderboard