<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Task History - Page Archive</title><link>https://answers.axonivy.com/questions/1252/task-history-page-archive</link><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;We're facing the requirement from an internal auditing team that we've to provide a way to show the history of tasks.
they want to be able to see the complete dialog(s) of the task (of course in read-only mode without some of the controls (save-button, etc.))&lt;/p&gt;
&lt;p&gt;as i can see in the JSF Workflow UI Project, there is a "archive" button on the Task-History page. but we couldn't find any information on how to save/store such archive-pages?&lt;/p&gt;
&lt;p&gt;or ar there any other best-practices to handle such requirements?&lt;/p&gt;
&lt;p&gt;Thanks for your input&lt;/p&gt;
&lt;p&gt;Philipp&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1252/task-history-page-archive" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 22 Apr 2015 14:23:56 -0400</lastBuildDate><item><title>Comment by Christian Strebel on Christian Strebel's answer</title><link>https://answers.axonivy.com/questions/1252/task-history-page-archive#1278</link><description>&lt;p&gt;Yes, if a task is done, there is now way to re-start.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian Strebel</dc:creator><pubDate>Wed, 22 Apr 2015 14:23:56 -0400</pubDate><guid>https://answers.axonivy.com/questions/1252/task-history-page-archive#1278</guid></item><item><title>Answer by roland</title><link>https://answers.axonivy.com/questions/1252/task-history-page-archive/1255</link><description>&lt;p&gt;Hi Philipp,&lt;/p&gt;
&lt;p&gt;I had the same request. I solved the Problem by overwriting the Archive Function in WfUi.&lt;/p&gt;
&lt;p&gt;I created a new Project with a callable sub process with the Input parameter of Icase and I task. In this process I first check the process code to know which Dialog I have to start.
Depending on the ivy project I want to show the dialog from, I get the data of the case or task via ivy api.&lt;/p&gt;
&lt;p&gt;after I got the process data I start the dialogs with a userdialog step in the process.&lt;/p&gt;
&lt;p&gt;Here the code snippet to get the processdata of a task.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;if (in.data.tmpTask.getState().name().toLowerCase()=="done")
{
    data=in.data.tmpTask.getEndProcessData() as ForeignInvestData;
}
else
{
    data=in.data.tmpTask.getStartProcessData() as ForeignInvestData;

}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;best regards &lt;/p&gt;
&lt;p&gt;Roland&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">roland</dc:creator><pubDate>Fri, 10 Apr 2015 05:44:58 -0400</pubDate><guid>https://answers.axonivy.com/questions/1252/task-history-page-archive/1255</guid></item><item><title>Comment by Philipp on Christian Strebel's answer</title><link>https://answers.axonivy.com/questions/1252/task-history-page-archive#1254</link><description>&lt;p&gt;Ah that explains it :-)&lt;/p&gt;
&lt;p&gt;And is it correct, that there is no (reasonable) way of re-open/start a task, that has already been finished?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Philipp</dc:creator><pubDate>Thu, 09 Apr 2015 17:54:31 -0400</pubDate><guid>https://answers.axonivy.com/questions/1252/task-history-page-archive#1254</guid></item><item><title>Answer by Christian Strebel</title><link>https://answers.axonivy.com/questions/1252/task-history-page-archive/1253</link><description>&lt;p&gt;The "Page/Form Archive" only works for the "old" Html Pages.
See Process Element "Web Page" -&amp;gt; Inscription -&amp;gt; Dialog -&amp;gt; "Form archive"&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christian Strebel</dc:creator><pubDate>Thu, 09 Apr 2015 16:33:22 -0400</pubDate><guid>https://answers.axonivy.com/questions/1252/task-history-page-archive/1253</guid></item></channel></rss>