<?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>Unzipping a zip file</title><link>https://community.appian.com/discussions/f/best-practices/22694/unzipping-a-zip-file</link><description>Hey Guys, 
 I have requirement to get the zip file from UI and unzip and then process further, Here we tried using two different plugins, 
 
 Extract Zip --- this plugin doesn&amp;#39;t work as expected, some of the subfolder in our zip doesn&amp;#39;t unzipped. 
 ZIP</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Unzipping a zip file</title><link>https://community.appian.com/thread/88744?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 15:17:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7daa1841-6a72-419b-8c07-f001576a6119</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="3520" url="~/discussions/f/best-practices/22694/unzipping-a-zip-file/88743#88743"]I would absolutely use a database table column to track the status of the unzip process.[/quote]
&lt;p&gt;That sounds like a good approach too, though a bit of an extra up-front dev cost.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unzipping a zip file</title><link>https://community.appian.com/thread/88743?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 15:07:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a82e6932-feb8-4f72-a928-7f25f10aff83</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Apologies if you inferred that as the recommended solution. I would absolutely use a database table column to track the status of the unzip process. I&amp;#39;d set it to &amp;quot;unzipping&amp;quot; (or equivalent) when the process was started (e.g.. just before the unzip smart service was reached) and then to &amp;quot;unzipped (or equivalent) just after the said smart service, and point the refresh variable at this table/column. Typically such an unzip is then followed by some individual processing, so this could also be reflected in the table (e.g. you could have a progress bar, if we were able to write and update a count of items processed against a total number extracted from the zip file) etc etc&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unzipping a zip file</title><link>https://community.appian.com/thread/88741?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 15:00:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:93f5240d-f14c-40d4-8172-6d0f0bf3d0d9</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="3520" url="~/discussions/f/best-practices/22694/unzipping-a-zip-file/88734#88734"]Note: you can auto-refresh an Appian SAIL interface so you don&amp;#39;t have to rely on a User hitting a refresh icon.[/quote]
&lt;p&gt;Are you confident of this?&amp;nbsp; In my experience (though I haven&amp;#39;t tried for a while), auto-refresh behavior on a user user input task SAIL form will &lt;em&gt;not&lt;/em&gt; pick up changed PV data.&amp;nbsp; Unless you were thinking of suggesting the user do a queryProcessAnalytics call from the form, which ups the complexty by a considerable factor...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unzipping a zip file</title><link>https://community.appian.com/thread/88735?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 12:56:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9dd67d27-1083-4f38-9c36-edc0ec544b32</guid><dc:creator>Gopalakrishnan G</dc:creator><description>&lt;p&gt;Noted Stewart. Thanks for your input.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unzipping a zip file</title><link>https://community.appian.com/thread/88734?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 12:47:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9d06e0ca-8b88-43da-99c2-8dba52b410ea</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Whilst you can upload a zip file to Appian you&amp;nbsp;cannot&amp;nbsp;unzip directly from a User Interface.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note: you can auto-refresh an Appian SAIL interface so you don&amp;#39;t have to rely on a User hitting a refresh icon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unzipping a zip file</title><link>https://community.appian.com/thread/88733?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 12:42:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:afb217a4-2531-4445-89d0-90c531cfa882</guid><dc:creator>Gopalakrishnan G</dc:creator><description>&lt;p&gt;yes, now we have the same design where user will have to refresh in interface to check whether unzip has completed or not.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Another ques&lt;/strong&gt; ---&amp;nbsp; If we upload a zip file into any folder using Appian designer, it&amp;#39;s auto-extracting properly (performance also not that bad), by any chance, can we do the same from interface?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unzipping a zip file</title><link>https://community.appian.com/thread/88732?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 12:35:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3560cadb-8747-49dd-b10d-cd500b7cf9cb</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Hi - I&amp;#39;ve had exactly the same experience - the first plug-in seems to just stop processing the zip file after either a pre-defined time or a pre-defined size but either way fails to complete the unzip process correctly.&lt;/p&gt;
&lt;p&gt;I resorted to using the second plug-in and also have had the same experience - taking a very long time to unzip a package. Taking a long time isn&amp;#39;t a problem in its own right, but if there is a need to provide the correct User Experience you&amp;#39;ll have to provide something that&amp;nbsp;communicates to the User that the unzip is &amp;quot;In Progress&amp;quot; and a method to refresh the interface periodically so that when the unzip is complete the User is made aware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>