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

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 I
Resolver I

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
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,592)