flowable / flowable/flowable-engine

Cannot Terminate Process Instance if there is a Job in Deadletter

Open
#3,300 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
9.5k
Forks
2.9k
Avg merge
7h 8m
Merged PRs (30d)
2

Description

**Describe the bug**
Cannot Terminate Process Instance if there is a Job in Deadletter

**Expected behavior**
Terminate the Process

**Additional context**
Database MSSQL:
Exception:
\n### Error updating database. Cause: com.microsoft.sqlserver.jdbc.SQLServerException: The DELETE statement conflicted with the REFERENCE constraint \"ACT_FK_EXE_PROCDEF\". The conflict occurred in database \"flowable\", table \"dbo.ACT_RU_EXECUTION\", column 'PROC_DEF_ID_'.\n### The error may exist in org/flowable/db/mapping/entity/ProcessDefinition.xml\n### The error may involve org.flowable.engine.impl.persistence.entity.ProcessDefinitionEntityImpl.deleteProcessDefinitionsByDeploymentId-Inline\n### The error occurred while setting parameters\n### SQL: delete from ACT_RE_PROCDEF where DEPLOYMENT_ID_ = ?\n### Cause: com.microsoft.sqlserver.jdbc.SQLServerException: The DELETE statement conflicted with the REFERENCE constraint \"ACT_FK_EXE_PROCDEF\". The conflict occurred in database \"flowable\", table \"dbo.ACT_RU_EXECUTION\", column 'PROC_DEF_ID_'."}

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.