flowable / flowable/flowable-engine
Deadlock found when trying to get lock; try restarting transaction #3866
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.9k
- Avg merge
- 7h 8m
- Merged PRs (30d)
- 2
Description
**Describe the bug**

**Expected behavior**
succeed
**Code**
public List execBatchCompleteTask(List approveProcessVos) {
List result = new ArrayList<>();
approveProcessVos.forEach(vo -> {
String actTaskId = vo.getActTaskId();
Map variables = vo.getVariables();
taskService.complete(actTaskId, variables);
result.add(new ProcessAdvanceRespondVo(vo.getProcessId(), vo.getProcessInstanceId()));
});
queryNewestTask(result);
return result;
}
**Additional context**
Add the version of Flowable that you are using, the database vendor and if you are using Flowable within Spring Boot, the Flowable Task application etc.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.