[jboss-user] [JBoss jBPM] - Re: JTATransaction Error

faite do-not-reply at jboss.com
Mon Apr 13 17:19:04 EDT 2009


Next is the code that I am using to fork the main process

  | 	public static ExecutionContext forkToken(ExecutionContext executionContext, String tokenName) throws Exception {
  | 		final Token rootToken = executionContext.getToken();
  | 		final Token newToken = new Token( rootToken, tokenName );
  | 
  | 		newToken.setTerminationImplicit( true );
  | 		executionContext.getJbpmContext().getSession().save( newToken );
  | 
  | 		ExecutionContext newExecutionContext = new ExecutionContext( newToken );	
  | 		
  | 		return newExecutionContext;
  | 	}


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

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



More information about the jboss-user mailing list