This content has been marked as final. Show 4 replies
1 of 1 people found this helpful
Once you get the process instances list with Query API, you have to use ProcessInstance.findActiveExecutionIn (activityName) to get an Execution in a particular activity.
Thanks Tom, that's what I'm doing, but to use that API I have to iterate over the list of process instances. I was hoping for a Hibernate-like query that returns a list of executions at a particular activity, all in one shot.
Sorry, thanks <MIKE>.
I think there isn't a convience method to do this but you are welcome to create a feature request in JIRA. This is valuable feedback.