2 Replies Latest reply on Nov 15, 2007 10:07 AM by tom.baeyens

    outgoingTransitionsMap

    oscar_barrios

      Hello people,
      In my last test, I initialize with this:

      ProcessDefinitionImpl process = new ProcessFactory().initial("ready").behaviour(initial).transition().to("inprogress").transition().to("exited")
      node("inprogress").behaviour(inprogress).transition().to("completed").transition().to("exited")
      .node("completed").behaviour(completed).node("exited").behaviour(exited).processDefinition();
      

      But Transition NodeImpl::addOutgoingTransition(TransitionImpl transition) does'nt up to date the variable "outgoingTransitionsMap".
      When it arrives at this line:
      TransitionImpl transition = node.getOutgoingTransition("exited");

      The result is null! Because only saves the transitions in : "outgoingTransitions" (ArrayList)
      It's a bug?