[jboss-user] [JBoss jBPM] - Re: Sub-Process NullPointerException

leoneldm do-not-reply at jboss.com
Mon Mar 16 15:25:38 EDT 2009


try this...

  | ProcessInstance instance = jbpmContext.newProcessInstance("ProcessName");
  | ProcessInstance instanceEntrega = jbpmContext.newProcessInstance("SubProcessName");
  | 
  | ProcessDefinition processDefinitionSubProcess = instanceEntrega.getProcessDefinition();
  | ProcessState processState = (ProcessState) instance.getProcessDefinition().getNode("NameNode");	
  | processState.setSubProcessDefinition(processDefinitionSubProcess);
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218417#4218417

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218417



More information about the jboss-user mailing list