Community

exception on fork getting all outgoing transitions

reply from Sebastian Herbst in jBPM - View the full discussion

Hi,

maybe i didn't made it clear.

 

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

Start a new discussion in jBPM at Community