If it's in the API, I don't see it anywhere I'd expect.
Here's some idea of how to check this... look in jpdl\jar\src\main\java\org\jbpm\db\hibernate.queries.hbm.xml.
Find the query/queries that do what you want, then search for where they're used to see if they're exposed in an API.
Please share what you find.
Hey thanks, I was looking for those queries...
(still looking for the washroom...)
I thought maybe I could trap an error on some call in desperation, but haven't found a safe one to call. I'll keep checking.
Maybe this is most direct way to do it:
although it looks like you have to trap an error if it doesn't find it.