<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Park Task not saving data</title><link>https://answers.axonivy.com/questions/4239/park-task-not-saving-data</link><description>&lt;p&gt;Basically, the Park Task feature is as far as I know intended to let the user continue his work later. However, I'm currently facing the issue that none of the data is persisted, when I park the task in the Designer (7.2.1).&lt;/p&gt;
&lt;p&gt;I'm having one logic step, called &lt;code&gt;save&lt;/code&gt; which contains the following script steps:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ivy.session.parkTask(ivy.task);

for(int i = 0; i&amp;lt;in.data.filesOnDisk.size(); i++)
{
    FileHelper.deleteFolder(in.data.filesOnDisk.get(i).getAbsolutePath());
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And a simple faces redirect to the portal start. Is there any better way to save/persist data while being in a task without using another database as stated in &lt;a href="https://answers.axonivy.com/questions/1017/save-task-data-while-in-task"&gt;this topic&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Did I misunderstand the function of &lt;code&gt;parkTask&lt;/code&gt;?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/4239/park-task-not-saving-data" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 16 Dec 2019 09:22:39 -0500</lastBuildDate><item><title>Answer by Lukas Lieb</title><link>https://answers.axonivy.com/questions/4239/park-task-not-saving-data/4283</link><description>&lt;p&gt;In the past it was possible to park a task and with this step the task data was be saved. But that never worked with the Html Dialog forms. But there is another much cooler way to do similar:&lt;/p&gt;
&lt;p&gt;In the WorkflowDemos (since 8.0.1) will be a new demo called BusinessCaseData. This demo shows you how you can park a task and save the inputs to the ivy business data repository. 
This task will be reserved for you and you can pick it up later again, to continue with your work.
In addition it shows you how you can browse over all data you have ever created. This will be done with a fast search api. you can modify past data too (for this have a look at the BusinessData demos in the WorkflowDemos).&lt;/p&gt;
&lt;p&gt;This demo is build for 8.0.1 but can imported with a Designer 8.0.0 too (Import -&amp;gt; Ivy Projects -&amp;gt; Source minimum version 8.0.1-SNAPSHOT). And it should be possible to reimplement it with version 7.0.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.axonivy.com/market/demos"&gt;https://developer.axonivy.com/market/demos&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Kind regards&lt;/p&gt;
&lt;p&gt;Lukas&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lukas Lieb</dc:creator><pubDate>Mon, 16 Dec 2019 09:22:39 -0500</pubDate><guid>https://answers.axonivy.com/questions/4239/park-task-not-saving-data/4283</guid></item></channel></rss>