I have an XML File generated by a PowerBI report and sent to us as an email attachment.
I have a FLOW1 that takes the Email attachment and places in a SP Library.
My Flow2 takes the File Content from SP Library and creates records in the SP List.
The FLOW2 works fine as long as there are records in the XML File.
However, we got an XML file with no records. My FLOW failed at Parse JASON step.
How do I circumvent this issue as every now and then there may be a file with no records - Just a header?!
I tried condition step with
Solved! Go to Solution.
Hi @SueA ,
When the xml file is empty, do you want to continue running the flow2 even if Parse JSON fails?
I found an alternative method for your reference, please try the following workaround.
Choose Configure run after, Select all these scope statuses you need.
Here is the expression:
result('Scope')[0]['status']
Best Regards,
Zhi Chen
Hi @SueA ,
When the xml file is empty, do you want to continue running the flow2 even if Parse JSON fails?
I found an alternative method for your reference, please try the following workaround.
Choose Configure run after, Select all these scope statuses you need.
Here is the expression:
result('Scope')[0]['status']
Best Regards,
Zhi Chen
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
72 | |
27 | |
22 | |
15 | |
13 |
User | Count |
---|---|
139 | |
42 | |
42 | |
35 | |
30 |