cancel
Showing results for 
Search instead for 
Did you mean: 

UserTask after ServiceTask

kirek
Champ in-the-making
Champ in-the-making
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?
1 REPLY 1

kirek
Champ in-the-making
Champ in-the-making
I fixed the problem with the new exception handling.. Smiley Happy

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