There is taskSession.taskOperation(). Eg.
taskSession.taskOperation(Operation.Claim, taskToComplete.getId(), user.getId(), null, null, null);
Reply to this message by going to Community
Start a new discussion in jBPM at Community