How to send notification from flow with an attachment on the catalog form?

Hritik
Tera Expert

Hello Developers,

 

I want to send the notification to a particular group when approval flow is complete. 

There is one condition: I have an Attachment field on the catalog form which is mandatory. So, I need to send the notification with the attachment included as well.

 

Could you please guide me to achieve this?

 

 

Thanks,

Hritik.

12 REPLIES 12

Sonam Tiwari
Tera Guru

Yes, if you are not doing using 'Send Email' within the flow. Try what @Prashant Ahire  has said as well.

Hi @Sonam Tiwari 

 

Please find the process I followed:

 

In Flow, used Send Email action -> In the body of email tried to add Attachment field (which is there on the form) -> but when I tested it in the Emails it will only show as the sys id of attachment in the body but the actual attachment doesn't show as attached.

 

Hritik_0-1693466181487.png

 

I want to attach the document in the email which end user will attach while submitting the REQ. 

 

Could you please guide me here?

 

 

Thanks in Advance,

Hritik.

 

Ankur Bawiskar
Tera Patron
Tera Patron

@Hritik 

I would suggest to use event based approach and trigger email from flow

Handle the attachment part from email script

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar 

 

Please find the process I followed:

 

In Flow, used Send Email action -> In the body of email tried to add Attachment field (which is there on the form) -> but when I tested it in the Emails it will only show as the sys id of attachment in the body but the actual attachment doesn't show as attached.

 

Hritik_0-1693466181487.png

 

I want to attach the document in the email which end user will attach while submitting the REQ. 

 

Could you please guide me here?

 

 

Thanks in Advance,

Hritik.

 

@Hritik 

you need to use event queue based approach.

trigger event and let event trigger the notification

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader