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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,545)