Question
5
Replies
41
Views
Infosys
Posted: February 24, 2021
Last activity: March 1, 2021
Email not sending with attached PDF
i have a requirement in which in a flow i am attaching a PDF file to a case with attach smart shape and after that smart shape i am sending an email with the attached PDF but the email is not having the PDF as attachment.i guess the reason is the attachment is not getting commited to data base .But if i explicitly give commit then the lock will get released.
kindly give me a soln so that i can send the email with attached PDF as an attachment.
***Edited by Moderator: Pooja Gadige to add platform capability tag***
@PraveenP7456 There can be lot of possible solution. You can create custom activity which sends the email with attachment. You can specify attachment page for sending the pdf attachment in the email sending.
You can think of adding a wait shape (Not sure of the flow and how it works for you) for 1 sec, that will commit everything and then you can send the email.
You can think of using write now, in that case you should not loose lock of the work object.
-Saikat