<?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>I am using Add document to Zip Smart service, but the generated zip is empty.</title><link>https://community.appian.com/discussions/f/plug-ins/12914/i-am-using-add-document-to-zip-smart-service-but-the-generated-zip-is-empty</link><description>I am using Add document to Zip Smart service, but the generated zip is empty. 
 following are the inputs: 
 Base Document: no value Create New Document: true() New Document name: =&amp;quot;documents for &amp;quot;&amp;amp;pv!drawRequestId&amp;amp;&amp;quot; &amp;quot;&amp;amp;rule!DW_formatFulldateTime(now()</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I am using Add document to Zip Smart service, but the generated zip is empty.</title><link>https://community.appian.com/thread/121479?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2023 12:40:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:06298a79-cf4a-455d-8c32-e74ee2b95f00</guid><dc:creator>ashishdave</dc:creator><description>&lt;p&gt;You&amp;nbsp; should provide the path for the file.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;example:&amp;nbsp;&lt;br /&gt;intro\test.csv&lt;/p&gt;
&lt;p&gt;intro\test.txt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am using Add document to Zip Smart service, but the generated zip is empty.</title><link>https://community.appian.com/thread/59885?ContentTypeID=1</link><pubDate>Sat, 01 Sep 2018 02:54:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2f17936e-b39e-4a5a-80a2-4befebceb1f1</guid><dc:creator>shafaly</dc:creator><description>&lt;p&gt;Hi shwetad,&lt;/p&gt;
&lt;p&gt;Document Paths can not be null so create a expression rule to find the path of documents :&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Input :&lt;/strong&gt; &amp;nbsp;ri!ListOfDocuments (here you need to pass todocument(pv!documents_cdt.documentId) )&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Code :&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;load(&lt;/p&gt;
&lt;p&gt;&amp;nbsp; local!AllDocumentName: a!forEach(&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; items:tointeger(&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ri!ListOfDocuments&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;),&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;expression: document(fv!item,&amp;quot;name&amp;quot;)&lt;/p&gt;
&lt;p&gt;&amp;nbsp; ),&lt;/p&gt;
&lt;p&gt;&amp;nbsp;local!DocumentName: apply(&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;stripwith(&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;_,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;\/;:&amp;ldquo;|?&amp;rsquo;&amp;gt;&amp;lt;*&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;),&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;local!AllDocumentName&lt;/p&gt;
&lt;p&gt;&amp;nbsp;),&lt;/p&gt;
&lt;p&gt;&amp;nbsp;a!forEach(&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;items:tointeger(&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ri!ListOfDocuments&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;),&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;expression: &amp;nbsp;local!DocumentName[fv!index]&amp;amp;&amp;quot;.&amp;quot;&amp;amp;document(fv!item,&amp;quot;extension&amp;quot;))&lt;/p&gt;
&lt;p&gt;)&lt;/p&gt;
&lt;p&gt;Use this expression rule in Document Paths.&lt;/p&gt;
&lt;p&gt;I hope this will help you, Please let me know if it works for you.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Shafaly&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am using Add document to Zip Smart service, but the generated zip is empty.</title><link>https://community.appian.com/thread/59842?ContentTypeID=1</link><pubDate>Fri, 31 Aug 2018 09:55:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8086c054-e81d-4426-bd6b-f9170cbce58b</guid><dc:creator>vipins</dc:creator><description>Put this in Documents Paths instead:&lt;br /&gt;
document(pv!docphoto,&amp;quot;name&amp;quot;)&amp;amp;&amp;quot;.&amp;quot;&amp;amp;document(pv!docphoto,&amp;quot;extension&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
&lt;a href="https://community.appian.com/discussions/f/process/3839/hi-i-am-using-the-add-documents-to-zip-smart-service-the-resul"&gt;community.appian.com/.../hi-i-am-using-the-add-documents-to-zip-smart-service-the-resul&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am using Add document to Zip Smart service, but the generated zip is empty.</title><link>https://community.appian.com/thread/58032?ContentTypeID=1</link><pubDate>Tue, 17 Jul 2018 11:57:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d88ac3e8-a558-4435-9bef-65445fa95e5f</guid><dc:creator>Sandeep Deshmukh</dc:creator><description>Hi &lt;a href="/members/shwetad"&gt;shwetad&lt;/a&gt;, &lt;br /&gt;
&lt;br /&gt;
Can you please try by giving Base Document.&lt;br /&gt;
&lt;br /&gt;
and check whether this &amp;quot;todocument(pv!documents_cdt.documentId) &amp;quot; is returning value..&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Sandeep&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>