Questions Tagged With persistencehttps://answers.axonivy.com/tags/persistence/?type=rss&user=maio290questions tagged <span class="tag">persistence</span>enThu, 05 Dec 2019 10:48:10 -0500Park Task not saving datahttps://answers.axonivy.com/questions/4239/park-task-not-saving-data<p>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).</p> <p>I'm having one logic step, called <code>save</code> which contains the following script steps:</p> <pre><code>ivy.session.parkTask(ivy.task); for(int i = 0; i&lt;in.data.filesOnDisk.size(); i++) { FileHelper.deleteFolder(in.data.filesOnDisk.get(i).getAbsolutePath()); } </code></pre> <p>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 <a href="https://answers.axonivy.com/questions/1017/save-task-data-while-in-task">this topic</a>?</p> <p>Did I misunderstand the function of <code>parkTask</code>?</p>maio290Thu, 05 Dec 2019 10:48:10 -0500https://answers.axonivy.com/questions/4239/park-task-not-saving-datataskpersistence