cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SueA
Resolver II
Resolver II

How can I place a condition if my XML File has no records then to give me an email message else to create record(s) in SP List?

My goal is to create a condition step to check if the newly created XML File in a SharePoint Library has any records? If it has no records, then to send me an email message else parse and create record(s) in a SharePoint List. What I have below gives me an error rather than an email for an empty XML File. Please help me correct my mistake here.

SueA_1-1638305302206.png

 

 

1 REPLY 1
SueA
Resolver II
Resolver II

Used this solution: https://powerusers.microsoft.com/t5/Building-Flows/How-to-deal-with-an-empty-XML-File-in-Power-Autom....  But still gives me error if the file is empty.

Looking for a well formatted empty XML file to do my test...

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (3,499)