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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user