Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

撤回多实例任务会导致流程无法完成。 #165

Open
vigosser opened this issue May 29, 2018 · 1 comment
Open

撤回多实例任务会导致流程无法完成。 #165

vigosser opened this issue May 29, 2018 · 1 comment

Comments

@vigosser
Copy link
Contributor

流程图片下所示。
image
用户发起后,流转至协同办公,如果此刻撤回,能够撤回成功,但是完成时候会报错。

报错信息 (5).txt

Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (OA_LIN.ACT_RU_EXECUTION, CONSTRAINT ACT_FK_EXE_PARENT FOREIGN KEY (PARENT_ID_) REFERENCES ACT_RU_EXECUTION (ID_))

@vigosser
Copy link
Contributor Author

有一种比较暴力的解决办法。
该问题实际上是由于外键导致的,解决办法就是把所有报错的外键约束干掉。
涉及 ACT_RU_EXECUTION, ACT_RU_TASK, ACT_RU_VARIABLE这三张表中的部分外键。全部干掉之后该问题能解决。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant