AnsweredAssumed Answered

UserTask after ServiceTask

Question asked by kirek on Mar 6, 2012
Latest reply on Mar 7, 2012 by kirek
Hi,
im having a problem with the User Tasks.

if I try to add a seond User Task after an User Task and an exception handling…

[attachment=0]process.JPG[/attachment]

i am always getting those errors:

06.03.2012 14:22:51 org.activiti.engine.impl.interceptor.CommandContext close
SCHWERWIEGEND: Error while closing command context
org.apache.ibatis.exceptions.PersistenceException:
### Error updating database.  Cause: com.ibm.db2.jcc.am.SqlIntegrityConstraintViolationException: DB2 SQL Error: SQLCODE=-532, SQLSTATE=23504, SQLERRMC=EACTIVITI.ACT_RU_TASK.ACT_FK_TASK_EXE, DRIVER=3.59.81
### The error may involve org.activiti.engine.impl.persistence.entity.ExecutionEntity.deleteExecution-Inline
### The error occurred while setting parameters
### Cause: com.ibm.db2.jcc.am.SqlIntegrityConstraintViolationException: DB2 SQL Error: SQLCODE=-532, SQLSTATE=23504, SQLERRMC=EACTIVITI.ACT_RU_TASK.ACT_FK_TASK_EXE, DRIVER=3.59.81


In this example I am using db2, but i receive a similar exception with h2 too.
Can anyone help, please?

Outcomes