Hi
this question is an extension of Saving PDF attachments with customise name to Shar... - Power Platform Community (microsoft.com)
Is there a way to get the flow to detect if the pdf document contains data?
If contain data:
name of the document would be "File name_lastModifiedDateTime.pdf"
If did not contain data:
name of the document would be "File name_lastModifiedDateTimex.pdf"
for example:
File name_24-05-12x.pdf (with a x behind to indicate that the document did not contain data)
How to know if it did not contain data:
to search for the phrase in the document: "No records in query report."