I want to implement a save feature on a task by creating another submit button and looping onto the Task. The data gets saved on save but when I submit I am getting the following error :
2014-12-17 07:49:45 org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita].[jsp]
FINE: Disabling the response for futher output
2014-12-17 07:49:50 com.bonitasoft.engine.external.web.forms.ExecuteActionsAndTerminateTaskExt
INFO: THREAD_ID=99 | HOSTNAME=LT-IT-amathad | TENANT_ID=1 | The user has executed the task [name = , display name = , id = <83>, parent process instance = <14>, root process instance = <14>, process definition = <5513822070608853300>]
2014-12-17 07:49:51 org.bonitasoft
INFO: ------------search human step name: Work on the caseprocess [14]
2014-12-17 07:49:51 org.bonitasoft
INFO: Human step name:Work on the case completed 1
2014-12-17 07:49:51 org.bonitasoft
INFO: Human step name:Work on the case completed 1
2014-12-17 07:49:51 org.bonitasoft.engine.execution.work.FailureHandlingBonitaWork
WARNING: THREAD_ID=103 | HOSTNAME=LT-IT-amathad | TENANT_ID=1 | The work [ExecuteFlowNodeWork: processInstanceId:14, flowNodeInstanceId: 85] failed. The failure will be handled.
2014-12-17 07:49:51 org.bonitasoft.engine.execution.work.FailureHandlingBonitaWork
WARNING: THREAD_ID=103 | HOSTNAME=LT-IT-amathad | TENANT_ID=1 | org.bonitasoft.engine.transaction.STransactionCommitException : “PROCESS_DEFINITION_ID=5513822070608853300 | PROCESS_NAME=PriorAuthorization | PROCESS_VERSION=1.0 | PROCESS_INSTANCE_ID=14 | ROOT_PROCESS_INSTANCE_ID=14 | FLOW_NODE_DEFINITION_ID=-6701821296042861561 | FLOW_NODE_INSTANCE_ID=85 | FLOW_NODE_NAME=Finish Task and Upload Response | bitronix.tm.internal.BitronixRollbackException: RuntimeException thrown during beforeCompletion cycle caused transaction rollback”
Any idea why this is happening ?