[jboss-user] [jBPM] - exception on fork getting all outgoing transitions

Sebastian Herbst do-not-reply at jboss.com
Tue Apr 6 04:51:09 EDT 2010


Sebastian Herbst [http://community.jboss.org/people/Herbst] replied to the discussion

"exception on fork getting all outgoing transitions"

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

--------------------------------------------------------------
Hi,
maybe i didn't made it clear.

 http://community.jboss.org/servlet/JiveServlet/showImage/2486/eTestDoubleFork.png  http://community.jboss.org/servlet/JiveServlet/downloadImage/2486/450-457/eTestDoubleFork.png 
I'm trying to get the outgoing nodes in the order:

Active Node: [wait] ->  'to fork'
Active Node: [home, park] ->  'to state 3' or 'to fork2' (*) (for the further text I assume I took 'to fork2')

ok until here it works without any problems.

Next I request
processInstance.findActiveActivityNames()  <- works fine
this gets me [home,state1,state2]

Now I'm trying to get the outgoing transitions, by finding the execution with the given names.
It works for the state the last transition went to, so for example I took 'to fork2' at (*) I'm able to get the outgoing transitions of state1 and state2, but not the transitions of home. In debug the 'activity' of  home is null at that moment.

The same happens for 'park' if I take the other transition in (*).

Any suggestions to get this fixed ?
Thanks
Sebastian

--------------------------------------------------------------

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

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/20100406/76bce709/attachment.html 


More information about the jboss-user mailing list