Hi all, just wondering... if Fork explicitly needs to save childTokens can I then assume that saving the parent token or processInstance will NOT do so?
This would be a real bummer... :-( Greetings Rainer | public class Fork extends Node implements Parsable { | | ... | | protected ForkedToken createForkedToken(Token parent, String transitionName) { | // instantiate the new token | Token childToken = new Token(parent, getTokenName(parent, transitionName)); | | // if there is persistency | JbpmSession jbpmSession = JbpmSession.getCurrentJbpmSession(); | if (jbpmSession!=null) { | // give the childToken an id | jbpmSession.getSession().save(childToken); | } | | // create a forked token | ForkedToken forkedToken = null; | forkedToken = new ForkedToken(childToken, transitionName); | | return forkedToken; | } | | ... | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3912641#3912641 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3912641 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user