I am trying to add an existing attachment dynamically to the "Send Email" task. These attachments were previously uploaded to the application and the attachment name and document are stored in a table. I have added documents previously that were static and had a constant name.
Thank you for the comments.
Discussion posts and replies are publicly visible
Sending a document via email is an excellent way to share a Word document with someone without giving them your email address. slope 2
Hi, you can add a script task node before send email node and in your script task use an expression which will query your document from db.
Load your documents to a process variable and reference that variable in the attachments field. Did you try this?
For some reason, i was thinking that you can only expose documents through the interface using the document function. I wasn't sure if this could be done through the process model as well. I will give it a try and see.
Thank you!