When more number of processes with human tasks are launched at a time. The generation of subsequent tasks of a process was taking time.
So after completing the task by client.complete()
i'm intimating/signalling the server with
ksession.getWorkItemManager().completeWorkItem(id, data);
with this the engine is generating the subsequent tasks faster and i could able to retrieve it for my processing.
But is this the ideal way of completing any task..?
Kindly clarify.