[jboss-user] [JBoss jBPM] - Re: Start process from code

jagr do-not-reply at jboss.com
Tue Apr 1 07:30:23 EDT 2008


I've tried whit this code and runs ok


  | ProcessDefinition processDefinition = ProcessDefinition.parseXmlString(
  | "<process-definition  xmlns='urn:jbpm.org:jpdl-3.2' name='TestStart'>" +
  | 
  | [.....PROCESS DEFINITION...]
  | 
  | "</process-definition>" 				
  | );	
  | 
  | ProcessInstance processInstance = new ProcessInstance(processDefinition);
  | 	
  | 	Token token = processInstance.getRootToken();	
  | 	token.signal();
  | 
  | 

Now the process start and moves to node ok, but don't persist on db.
Any sugestion?

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

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



More information about the jboss-user mailing list