Unable to complete human task of subprocess

23 views
Skip to first unread message

Xahar Hassan

unread,
Mar 16, 2022, 4:54:54 AM3/16/22
to jBPM Development
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();





Reply all
Reply to author
Forward
0 new messages