This content has been marked as final.
Show 4 replies
-
1. Re: How to query for executions in a particular activity
mike_burton Feb 18, 2010 3:31 PM (in response to spincycle)1 of 1 people found this helpfulHello Peter,
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.
-
2. Re: How to query for executions in a particular activity
spincycle Feb 18, 2010 3:46 PM (in response to mike_burton)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. -
3. Re: How to query for executions in a particular activity
spincycle Feb 18, 2010 3:47 PM (in response to spincycle)Sorry, thanks <MIKE>. -
4. Re: How to query for executions in a particular activity
sebastian.s Feb 19, 2010 3:42 AM (in response to spincycle)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.