<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Retrieve and Send document via Email</title><link>https://community.appian.com/discussions/f/general/24220/retrieve-and-send-document-via-email</link><description>I am trying to add an existing attachment dynamically to the &amp;quot;Send Email&amp;quot; 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</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Retrieve and Send document via Email</title><link>https://community.appian.com/thread/93418?ContentTypeID=1</link><pubDate>Sat, 09 Apr 2022 12:25:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4ec42513-b5cd-4f06-9e07-ec926b74600b</guid><dc:creator>ougdp2003</dc:creator><description>&lt;p&gt;For some reason, i was thinking that you can&amp;nbsp;only expose documents through the interface using the document function. I wasn&amp;#39;t sure if this could be done through the process model as well. I will give it a try and see.&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retrieve and Send document via Email</title><link>https://community.appian.com/thread/93415?ContentTypeID=1</link><pubDate>Sat, 09 Apr 2022 07:09:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f2c1d71d-2cb9-442d-9523-e3d315196d41</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Load your documents to a process variable and reference&amp;nbsp;that variable in the attachments field. Did you try this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retrieve and Send document via Email</title><link>https://community.appian.com/thread/93414?ContentTypeID=1</link><pubDate>Sat, 09 Apr 2022 07:06:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8b4bed3b-ba41-4f90-a0d7-ddfc05cfa723</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;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.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Retrieve and Send document via Email</title><link>https://community.appian.com/thread/93413?ContentTypeID=1</link><pubDate>Sat, 09 Apr 2022 04:39:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d98884c9-47d4-463c-86be-22ee7558f635</guid><dc:creator>sweetc0001</dc:creator><description>&lt;p&gt;Sending a document via email is an excellent way to share a Word document with someone without giving them your email address.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color:#ffffff;"&gt;&lt;a style="color:#ffffff;" href="https://slope-2.com/"&gt;slope 2&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>