Hi everbody,
the sceanrio I’m designing will download all invoices from our office mail account and store them on OneDrive follwoing our naming schema for invoices.
My question or problem is the following: I iterate over all attachments to an email. I want to detect the situation, where no pdf is attached to that email. To do so, i initially set an variable “foundPDF” to false and once I find a PDF, i set it to true. Obviously, in order to detect the error situation, I can verify only after the complete iteration. But where is that in an scenario? Where can I add the condition (“foundPDF == false”) in my scenario and start an error handling?
Thanks and regards
Robert