The person who starts the flow should have the possibility to add a document.
Afterwards the flow starts and an approval will be send. Unfortunately I´ve no idea what I´ve to do that the attachment will also be send with the approval.
Thanks in advance
Hello @Mischa2710 ,
Please refer this Microsoft Doc which tells you how you can add attachments to your Approvals
Please mark this Reply as a Solution or give a Kudo if you found it helpful.
Sorry, unfortunately not the solution for my problem. Therefore I tried it with already stored attachments in sharepoint list, but it also didn´t work:
Hello @Mischa2710 ,
a simple solution would be to send to link of the uploaded file (SharePoint) inside the approval.
But I will show you how to do it directly. Just give me some minutes. I will build the example flow for you 🙂
Hello @Mischa2710 again.
There we go. Here is the short flow:
So what you need to do is split the attachment field into two parts (Name / Content)
For the name you will have the following expression:
Tell me if it worked
At first, thank you for your help. Unfortunately it didn´t work. The flow runs and I received an approval with attached document. But I receive an error if I would like to open attached document.
Did I do something wrong? I uploaded a PPT and a PDF.
I entered exactly your expressions:
hmm strange, what is the error saying in detail? maybe the filesize exceeds the Limit or your firewall blocks the content? can you tell me more about the error? screenshot maybe?
The message is that I´ve the possibilty to repair it. But it doesn´t work.
The strange thing is, if I run the flow with trigger "when an item is created or modified" everything works as wished and I can open the documents.
your tipp for linking documents is also used in my flow. But sometimes the recipeint has no access to the folder and therefore a documents has to be attached.
I tried it again with a pdf and ppt. everything was fine. The only problems I got was when the file was larger then 5MB.
I took a closer look into your action. The only difference I can see now is that you are using quotes and I am not:
maybe try it without the quotes file.name instead of "file.name"
Edit: On the other hand you could give the user access to the file before sending the approval. and then take it from him again when the user approved or declined it?