Skip to main content

Notifications

Power Platform Community / Forums / Social Board / Blank Attachment PDF f...
Social Board
Unanswered

Blank Attachment PDF files

Posted on by 8
Fairly new to PA, but hoping that someone has an answer for this.
I created a flow that populates a sales estimate in an Excel (online) sheet.  Then it is converts to a PDF file (OneDrive convert file).
There is a 2nd file that needs to be sent with it (depending on the selected product being quoted) , their IDs are in a small table I look up.
 
To do the following.
  1. initialize a variable (AttachmentArray),
  2. I then do a OneDrive (Get File Contents),
  3. Then append it to the array. 
  4. Next I do a Get File Contents of the PDF I created (from OneDrive)
  5. Append that to the Array
  6. Lastly, I send the email using the Array.
I can a send the document via email without problems.  Either via the Array or directly.
But when I try and send 2 documents, one is always blank.
But it also seems to be the newly created PDF file that was created in the PA flow.  The static brochure documents come through ok
 
 
 
 
2nd attachment is blank when I tried to open it
 
 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 142,008

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,531

Leaderboard

Featured topics