<?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>How to save the fila name of the uploaded document in CDT</title><link>https://community.appian.com/discussions/f/data/21702/how-to-save-the-fila-name-of-the-uploaded-document-in-cdt</link><description>Hello everyone! 
 I created a scrip task to extract data from a .txt file and save it to CDT. However, my CDT also has a column to save the file name of the .txt file where I extracted the data. Is it possible to do it? If yes, can you explain how? Thank</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to save the fila name of the uploaded document in CDT</title><link>https://community.appian.com/thread/84869?ContentTypeID=1</link><pubDate>Mon, 23 Aug 2021 12:02:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a959c448-c4f1-4d8b-a881-2a6276d5ef35</guid><dc:creator>Selvakumar Kumarasamy</dc:creator><description>&lt;p&gt;This will work if the file is stored in Appian. I hope you are storing the file in a folder once you retrieve it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to save the fila name of the uploaded document in CDT</title><link>https://community.appian.com/thread/84868?ContentTypeID=1</link><pubDate>Mon, 23 Aug 2021 11:26:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:70d137fa-584c-476c-91a6-f1cc780695f8</guid><dc:creator>Sarah B.</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;Tried this and it worked. Hopefully this works too once the uploading came from an SFTP smart plug in.&amp;nbsp;For now I am testing only manual uploads. You think this can work too if my file will be fetched through Receive File Over SFTP? Thanks in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to save the fila name of the uploaded document in CDT</title><link>https://community.appian.com/thread/84852?ContentTypeID=1</link><pubDate>Mon, 23 Aug 2021 10:11:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4bb5a00e-b782-4d97-bb17-65f446673abb</guid><dc:creator>Selvakumar Kumarasamy</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can use the document() function to retrieve the document name.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/21.3/fnc_scripting_document.html"&gt;docs.appian.com/.../fnc_scripting_document.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>