Park Task not saving data
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.Designer (7.2.1).
I'm having one logic step, called `save` which contains the following script steps:
ivy.session.parkTask(ivy.task);
for(int i = 0; i<in.data.filesOnDisk.size(); i++)
{
FileHelper.deleteFolder(in.data.filesOnDisk.get(i).getAbsolutePath());
}
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 [this topic][1]?
Did I misunderstand the function of `parkTask`?
[1]: https://answers.axonivy.com/questions/1017/save-task-data-while-in-task