Hi all,
I'm investigating an issue with process ACTIVATE and RETIRE, and ran across
what I think may be a change in the behavior of the
hasActiveInstances(ProcessDAO) method in
org.apache.ode.bpel.engine.BpelProcess.java - I was hoping someone (Karthick?)
could shed some light on this issue.
My understanding was that hasActiveInstances is supposed to return a count of
the number of process instances that are currently "in flight" that is, those
instances that have a ProcessState of either STATE_NEW, STATE_READY or
STATE_ACTIVE; at least that was the behavior before the changes that were
applied as a result of ODE-561. After these changes, hasActiveInstances now
returns the number of process instances regardless of state. This is causing a
problem with detection of in-flight process instances.
Can someone either confirm or disprove my suspicions?
Thanks!
_______________________________________
Robert ("Bob") Brodt
Senior Software Engineer, JBoss Riftsaw
JBoss by Red Hat