-
1. Re: Is there any way to save the human task data
mdegan Sep 2, 2014 2:21 AM (in response to mayankjain)Hi,
Some code information on what you do when you click the save button will help. Ideally, saving the form (human task) data should be handled as part of your application logic. You can then use the getTaskService().completeWithResults(taskId,userIdentity,resultMap) to complete the task. If you only want to save some data without completing the task, please use your application logic to save the entered data but do not call the completeTask api all. When you want to complete the task, your application logic should retrieve the already saved partial data and display to the user for them to add the rest of the info. On clicking complete, you can then save your form data into the db and also call the comlpeteTask api call. You need to implement getTaskService to return an instance of taskService that is connected to Human task Server.
Regards,
Manny