How to attach an attachment variable on catalog item to a Notification

RudhraKAM
Tera Guru

We have a requirement, where on Catalog Task fulfiller will attach an attachment ( attachment variable type ), Once that task is closed I am attaching that variable in the send email activity in flow , The email is triggering with content except the attachment. Is there any other way to attach the attachment to the notification ?

RudhraKAM_0-1698259377076.png

 

 

I tried Both ways . Send email and email notification 

RudhraKAM_1-1698259457522.png

 

1 ACCEPTED SOLUTION

RudhraKAM
Tera Guru

Just figured out from Doc there is a copy attachment activity , which allows us to copy on any table .

View solution in original post

4 REPLIES 4

Mayur2109
Kilo Sage
Kilo Sage

Hi @RudhraKAM ,

 

You need to create a custom action to add the attachment on email through flow designer. Please watch the below video for creating the custom action.

Creating custom Action to copy attachments in flow in ServiceNow 

 

Please check and Mark Helpful and Correct if it really helps you.

Regards,
Mayur Shardul

RudhraKAM
Tera Guru

Just figured out from Doc there is a copy attachment activity , which allows us to copy on any table .

The 'Copy Attachment' action allows you to copy from one table entry to another. So are you using the 'Send Email' action and then 'Copy Attachment' to add the attachment to the email entry right afterwards and hoping the attachment gets added before the email is found by the system and sent?
Or is there a more elegant solution I'm missing?

When I tried this I received: Error: The Record type sc_req_item does not match with Attachment table type.

I am trying to copy the attachment from the RITM to the email entry (see screenshot)
Copy attachment flow.png