This content has been marked as final.
Show 4 replies
-
1. Re: find a process instance
tbee Nov 10, 2008 2:18 AM (in response to tbee)Hm. I found this tread about an API and it appears the current API is not mature.
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160822#4160822
I'm pleased to see that this is already being focused on. However, my question still is valid; I assume it is not valid to always use the latest version of a description, so how do I get to an instance with just using the id? Get a connection from hibernate and use the tables directly? -
2. Re: find a process instance
salaboy21 Nov 10, 2008 7:15 AM (in response to tbee)The page that you mention talk about the new Public API's for jBPM.
If you want to look for processInstances by ID you should use the next method:JbpmContext.getProcessInstance(long processInstanceId) gets a process instance from the db.
Look in the official documentation: http://docs.jboss.org/jbpm/v3/javadoc/org/jbpm/JbpmContext.html -
3. Re: find a process instance
tbee Nov 10, 2008 8:07 AM (in response to tbee)"salaboy21" wrote:
The page that you mention talk about the new Public API's for jBPM.
I do not think so; I'm using the 3.2 documentation.
http://docs.jboss.com/jbpm/v3.2/userguide/html_single/#databaseexample
But your method seems to be the one I'm looking for. Thanks! -
4. Re: find a process instance
salaboy21 Nov 10, 2008 8:15 AM (in response to tbee)You mention this forum that is part of JBoss jBPM Design, that is why there metion the maturity of the code.. because is in development...
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160822#4160822