[jboss-user] [jBPM] - Process Definition and its running instances.

Yuriy R do-not-reply at jboss.com
Fri Nov 11 07:11:10 EST 2011


Yuriy R [http://community.jboss.org/people/yrachek] created the discussion

"Process Definition and its running instances."

To view the discussion, visit: http://community.jboss.org/message/636108#636108

--------------------------------------------------------------
Hello.
Here's my situation :

I want to figure out that some Process Definition has any running instances.
JBPM API gives to us such posobility :

graphSession.findProcessInstances(bpelProcessDefinition.getId());

But... if Process Definition has running instance, this instnce locks its own row at the JBPM_PROCESSINSTANCE table.

and findProcessInstances method  hangs for that moment when instance will end its execution and unlock its row.

Is there another way to figure out this question ?

Big thanks for any response !

NOTE :
 JBPM version is 3
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/636108#636108]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111111/d842c8f0/attachment.html 


More information about the jboss-user mailing list