Database blocking when use moveDeadLetterJobToExecutableJob method

cancel
Showing results for 
Search instead for 
Did you mean: 
jkanjariya
Member II

Database blocking when use moveDeadLetterJobToExecutableJob method

we have move activiti 5.15.1 to activiti 6.0.0.4 version.

when we resume job of activiti 5 with following command that time it was block the Database when we are get varible after the move job.

processEngine.getManagementService().moveDeadLetterJobToExecutableJob(Jobobj.getId(),1);

Map<String, Object> variables = workflowService.getVariableByProcessInstance(String.valueOf(processInstanceId));

As per my observation it was not release the session of
delete from ACT_GE_BYTEARRAY where ID_ = ? and REV_ = ?

Please find the attachment for more details.

Please do needful.