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 Platform Community / Forums / Power Automate / PowerApps Help / Flow ...
Power Automate
Answered

PowerApps Help / Flow help

(0) ShareShare
ReportReport
Posted on by 1,059

Hi,

I have a Canvas application and I have a gallery and I am filtering the Gallery and getting an EXCEL sheet export it from by using Plumsail custom connector in my flow, but my flow is failing on Parse JSON, well it was working before the last time I ran the flow.

Submit Button Code:

Set(ExportCSV, "");
Clear(ExportCSVFile);
ForAll(Gallery1.AllItems,
Collect(ExportCSVFile,{UserId:UserLabel.Text,Date:DateLabel.Text,TimeSlot:TimeSlotLabel.Text,Task:TaskLabel.Text,Customer:CustomerLabel.Text,Category:CategoryLbl.Text,Project:ProjectLabel.Text,DateAsInt:DateasInt.Text,Billable:BillLabel.Text}));

Set(VarURL, ExcelFileGenerate.Run(JSON(ExportCSVFile,JSONFormat.IndentFour)).created); Launch(VarURL)

1)

Ran 6 timesRan 6 times

2) 
Succeeded last timeSucceeded last time
3)
stuck on Parse JSONstuck on Parse JSON
JSON SAMPLE SCHEMA = 

[
 {
 "Billable": "false",
 "Category": "Others",
 "Customer": "SunStar Hotels",
 "Date": "03/08/2021",
 "DateAsInt": "20210308",
 "Project": null,
 "Task": "Contd Excel File Task....",
 "TimeSlot": "10:00 AM - 10:30 AM",
 "UserId": "Muhammad Fahad Ali Khan"
 },
 {
 "Billable": "false",
 "Category": "Others",
 "Customer": "Dewan Stores (Pvt) Limited",
 "Date": "03/08/2021",
 "DateAsInt": "20210308",
 "Project": null,
 "Task": "kuch bhi",
 "TimeSlot": "10:30 AM - 11:00 AM",
 "UserId": "Muhammad Fahad Ali Khan"
 },
 {
 "Billable": "false",
 "Category": "Others",
 "Customer": "SunStar Hotels",
 "Date": "03/08/2021",
 "DateAsInt": "20210308",
 "Project": null,
 "Task": "create new task",
 "TimeSlot": "09:00 AM - 09:30 AM",
 "UserId": "Muhammad Fahad Ali Khan"
 }
]


Any Help? ?
@LauraGB @eka24 

Categories:
  • LauraGB Profile Picture
    71 on at

    Whats the error details on the Parse JSON step?

     

    I'm going to guess the schema doesn't match your sample data and the Power App is producing different data than it did before. What's the schema?

     

    L

  • Verified answer
    MH3 Profile Picture
    1,059 on at

    Hi @LauraGB  Thanks for your reply.

     

    I have fixed the issue, by creating a new SAMPLE JSON and it is mapped with my data which I had passed from the gallery.

    {
    "UserId": "aaaaaaaaaaaaaaaa"
    "Date": "03/08/2021",
    "TimeSlot": "09:00 AM - 09:30 AM",
    "Task": "aaaaaaaaaaaaaaaaaa",
    "Customer": "aaaaaaaaaaaaaaaaa",
    "Category": "aaaaaaaaaaaaaaa",
    "Project": "aaaaaaaaaaaaaaaaaaaaaaa",
    "DateAsInt": "20210308",
    "Billable": "false"
     }
    
     


    This worked well
    fixed.png

    Thanks

  • LauraGB Profile Picture
    71 on at

    Congrats on fixing the issue.

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
Mohsin Ali Profile Picture

Mohsin Ali 355

#2
11manish Profile Picture

11manish 336 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard