[jboss-user] [jBPM] - get name of the actual state

kaissun bs do-not-reply at jboss.com
Mon Apr 18 12:57:57 EDT 2011


kaissun bs [http://community.jboss.org/people/kaissun] created the discussion

"get name of the actual state"

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

--------------------------------------------------------------
Do you know how we can get the state of our process with the code java by jBPM API ?

if we have : 
ProcessInstance instance = executionService.startProcessInstanceByKey("helloworld");

and when i pick :  

System.out.println(instance.getState()); 

it gives me active-root.

thanks !
NB : the jBPM version is 4.4 !
--------------------------------------------------------------

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

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/20110418/3befde34/attachment.html 


More information about the jboss-user mailing list