Do you know how we can get the state of our process with the code java by jBPM API ?
if we have :
ProcessInstance instance = executionService.startProcessInstanceByKey("helloworld");
and when i pick :
System.out.println(instance.getState());
it gives me active-root.
thanks !
NB : the jBPM version is 4.4 !