11 Replies Latest reply on Nov 5, 2005 3:05 AM by Tom Baeyens

    fork problem. How execute fork-state completely?

    Polina Morozova Newbie

      I'm using jbpm3.0. and I need to imitate execution of process, such as there was in jbpm 2.0

      InvocationLog invocationLog = beanName.startProcessInstance( definition.getId(), map );
       ProcessInstance instance = invocationLog.getProcessInstance();
       beanName.endOfState( instance.getRoot().getId(), null, null );

      I thought that it maybe in 3.0 this way:

      It's work only with simple processes. But adding simple fork - and we have that signal "goes" to only one default branch (first transition)..
      How to solve it? Maybe I know how to get round this fork problem. but process state? and so on ? Write it by hands????((((