I'm trying to create a Flow that captures input from a Form and inserts the data into a SharePoint List. I'd like to be able to upload files via the Form and then once some other actions take place (mostly sending confirmation emails to responder and others) the Flow attaches the files to the List item.
The flow I have put together works, and the uploads are attached successfully to the list item, but if there is nothing uploaded via Forms the Flow fails. It performs the function it is designed for as the attachment Actions are last, but I would like to iron out the problem.
Here is a screenshot of the relevant part of the Flow:
I would like the Get File Content and Add Attachment 2 Actions to only take place if there is a file uploaded, but I cannot seem to set Condition 2 correctly. I believe the Value needs to be connected to the relevant Form question using dynamic content, but I can't seem to get the logic right.
Any guidance would be gratefully received!
Solved! Go to Solution.