cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
StephaneSeguin
Frequent Visitor

Email Attachments added form Common Data Service - When a record is selected Trigger with Input files

Hi,

I have a flow on the CDS with the trigger When a record is selected, where we need to capture some files.

I want these files to be send by Email. The number of files will vary. 

I generated the array like proposed in this Blog https://flow.microsoft.com/en-us/blog/multiple-attachments-single-email/

The email is sent without the files.

Also, I converted the content on base64, like proposed in another blog.  

 

StephaneSeguin_0-1608646331627.png

 

The email is sent with the attachments, but the file show up all blank PDF pages.

 

Anyone know how to send these attachements?

 

Thank you

 

 

 

5 REPLIES 5
ManishJain
Solution Sage
Solution Sage

Hi @StephaneSeguin ,

 

Can you please share more details of the flow steps along with entities you are trying to retrieve attachments from?

 

Thanks

Hi ,

This is my trigger.TriggerTrigger

 

Then, I'm generate the attachments list into an array. To prevent any errors while sending.

image.png

 

 

 

 

 

 

 

 

Then sending my email

StephaneSeguin_2-1608651746641.png

 

ManishJain
Solution Sage
Solution Sage

Hi @StephaneSeguin ,

 

Before attaching to outlook can you please add compose action and just add variable to it to see if the array contains data or not ?

 

Thanks

Hi,

 

Yes the array contain data. I added the Variable to a compose and same problem.

 

The PDF file contain the number of pages but all blank.

 

The ContentBytes for the trigger is different than what I see in the compose ContentBytes.

 

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (80,153)