What i do is i create a Service Task like this:
ksession.getWorkItemManager().registerWorkItemHandler("Service Task", new ServiceTaskHandler());
ProcessInstance pi = ksession.startProcess(....)
And i try to abort the process like this:
ksession.abortProcessInstance(pi.getId());
But it continues to execute the so called Service Task...
Can show me how to abort this service task also?