Hi,
I have a scenario where there is a jbpm process calling subprocesses. One of the subprocess has a human task that expects a manual approval or rejection. But the human task is never getting completed if approves or rejects. This is happening only for this subprocess scenario. Otherwise the human task is working fine in independent process scenario.
taskService.complete(taskId, userId, data);
Above is the line of code where it is stuck.
taskService is --> TaskService taskService = runtimeManager.getRuntimeEngine(ProcessInstanceIdContext.get(Long.valueOf(processInstanceId))).getTaskService();