Can I send all the attachments of the RITM with email from the flow designer?

Stergios Stergi
Mega Guru

Hello!

I have managed to copy the attachment to the send email action but in the case when there is more than one attachment on the RITM the flow only copies the first attachment.
Is there a way to copy all the attachments?

I tried to use the For each item in the attachment list action to look up the attachment list and copy the attachments but I only receive the first attachment duplicated X times.

StergiosStergi_0-1700460795326.png

 

2 ACCEPTED SOLUTIONS

Hi @Stergios Stergi 

Okay I see.

In the Look Up Attachment step, You're using the output Attachment Sys ID which only store the sys_id of the first attachment.

TaiVu_0-1700476159402.png

The output should be used is the Attachment List one, it's an array contains elements as object type. So it might be difficult to work this out.

 

Let's try the simple approach below with just one query, use the Look Up Records instead.

TaiVu_1-1700476404113.png

TaiVu_2-1700476417799.png

 

Cheers,

Tai Vu

 

 

View solution in original post

Hey @Stergios Stergi 

You're using the Look Up Record action. Let's replace by the Look Up Records one. 😋

 

Cheers,

Tai Vu

View solution in original post

8 REPLIES 8

Hi @Stergios Stergi 

Okay I see.

In the Look Up Attachment step, You're using the output Attachment Sys ID which only store the sys_id of the first attachment.

TaiVu_0-1700476159402.png

The output should be used is the Attachment List one, it's an array contains elements as object type. So it might be difficult to work this out.

 

Let's try the simple approach below with just one query, use the Look Up Records instead.

TaiVu_1-1700476404113.png

TaiVu_2-1700476417799.png

 

Cheers,

Tai Vu

 

 

Stergios Stergi
Mega Guru

Hello @Tai Vu !

Thanx again for the reply!
I tried your approach but I came across an issue.
When I try to pick the pill for the attachment record on the For Each Item in  action, I get grayed out options.

StergiosStergi_0-1700557979547.png

 

In your example what was the pill / list you used in that step?

Hey @Stergios Stergi 

You're using the Look Up Record action. Let's replace by the Look Up Records one. 😋

 

Cheers,

Tai Vu

Stergios Stergi
Mega Guru

Hello @Tai Vu ! 

Thank you so much for helping me with this task!
Everything seems to work as I wanted!

 

Cheers!