Hi guys, hope someone can help with this.
I've checked multiple posts and YouTube videos, but there must be something I'm missing, or it's simply not working for me.
I have a flow that should trigger an approval request once 1 or more files are uploaded/modified in a sharepoint document library based on the name of the file, for example, whenever 2 files with name "Television" are uploaded or modified the flow will trigger and send both files to be approved in one single approval request, once the files are approved, flow will move them to a different sharepoint site and send the email of confirmation.
My problem is that after initiating the variable 'Files' and appending to it the file content, the approval request is not attaching the files and is creating a single request for each uploaded file, for example, I uploaded 3 files with "Television" on its name, the flow is creating 3 single approval requests, and it's not attaching any file to it, instead of creating a single request with all the 3 files recently uploaded.
I'm using the following function as trigger condition: @contains(triggerOutputs()?['body/{Name}'], 'Television') and it's working fine.
See flow structure below:
Would be great if someone can assist with it and help me to make this flow to send one single approval request with multiple attachments based on their name.
Thanks in advance
Paulo

Report
All responses (
Answers (