[jboss-user] [JBoss jBPM] - Re: Can't create a process instance when processDefinition i

Milochanzy do-not-reply at jboss.com
Thu Apr 24 17:46:51 EDT 2008


Thanks for reply..
Found the solution:

I had to declare the subProcess definition in the ProcessState for the same:

Like

  |      ProcessDefinition processDefinitionSubProcess = ProcessDefinition.
  |                 parseXmlString("sub-process definition xml content");
  |      ProcessState processState = (ProcessState) processDefinition.getNode
  |                                       ("Sub_Process_Name");	
  |      processState.setSubProcessDefinition(processDefinitionSubProcess);
  | 

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

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



More information about the jboss-user mailing list