After I startProcess, I found the the method return Immediately. how can I know when the process I created is completed or is active ?
One way to do it might be to put some Sysouts on the nodes in BPMN to see which nodes have been called. You can also add ProcessEventListener to your ksession and check the progress by updating various event methods in the listener.
Retrieving data ...