Foreign key constraint violation occurs at the end of process in activiti db

Description

Hi Team,

I am using below dependency for activiti:

<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-engine</artifactId>
<version>5.8</version>
</dependency>

And at the end of the process execution, am getting below exception:

06:44:38 Exception - org.apache.ibatis.exceptions.PersistenceException:
Error updating database. Cause: com.sybase.jdbc3.jdbc.SybSQLException: Dependent foreign key constraint violation in a referential integrity constraint. dbname = 'activitidb', table name = 'ACT_RU_EXECUTION', constraint name = 'ACT_FK_VAR_EXE'.
The error may involve org.activiti.engine.impl.persistence.entity.ExecutionEntity.deleteExecution-Inline
The error occurred while setting parameters
Cause: com.sybase.jdbc3.jdbc.SybSQLException: Dependent foreign key constraint violation in a referential integrity constraint. dbname = 'activitidb', table name = 'ACT_RU_EXECUTION', constraint name = 'ACT_FK_VAR_EXE'.

Could you please suggest if this issue is specific to the activiti version which am using.

Please let me know if any other details are required,

Regards,
Shilpi

Environment

Sybase

Status

Assignee

Unassigned

Reporter

shilpi panigrahi

Labels

None

Affects versions

Priority

Critical
Configure