How can I save data while I'm in a Task Switch. I'm resuming a Task and want to save data after submitting each form/page. If the user session expires or the user cancels the task the data should load when the user resumes the task the next time. asked 21.10.2014 at 10:34 HaraldWeber |
Hello, I'm not sure if this helps you completly. You can set the Task to state "PARK" this saves the data and the Task is still existing. But this helps only if the user presses a button "PARK" which is calling this event. I think if you want to have all data saved which are entered in a form you have to save them in a database. May be following helps: Loading Ivy Default data as now when starting the form. After every Change in the form write the data into a DB Table. if the dialog is started a second time just look at the database if there is a entry for this Case/Task and override the data loaded from ivy System db. After finishing or canceling the task regular i would delete the db entry. maybe this could help. Roland answered 08.11.2014 at 07:58 roland Thanks for the answer. I solved the problem by serializing the task data and save it into a binary database column. Its exactly the same prcedure an ivy task uses. I have to create the "my task data" before the first taskswitch element to save the id to the "ivy task data". The Ivy task now stores the id to the actual task data. I also have to load "my task data" manually if a task is resumed.
(10.11.2014 at 11:52)
HaraldWeber
|
This is no longer possible, if you want to do similar you can use businessdata: https://answers.axonivy.com/questions/4239/park-task-not-saving-data answered 18.12.2019 at 02:10 Lukas Lieb ♦♦ |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 21.10.2014 at 10:34
Seen: 4,485 times
Last updated: 18.12.2019 at 02:10