I usually recommend to use the history logs or a custom processEventListner to find out that information. Using the java apis will probably not give you enough flexibility to have a query mechanism for all the situations.
Cheers
Reply to this message by going to Community
Start a new discussion in jBPM at Community