User development, A new message was posted in the thread "start a process within another process in jbpm 4.3":
http://community.jboss.org/message/530045#530045 Author : Al Nadein Profile : http://community.jboss.org/people/matrixpooh Message: -------------------------------------------------------------- After a little more investigation, public class *RmExecutionImpl* extends ExecutionImpl{ private static final long serialVersionUID = 7281196660125907487L; @Override protected void save() { this.dbid = DbidGenerator.getDbidGenerator().getNextId(); /** * this is the line that makes the diff: set JBPM4_EXECUTION::ID_ to * unique value upon INSERT. It affects creating a process within * another just created and not yet persisted process. */ super.id = new Long(super.dbid).toString(); super.save(); } } and in jbpm.execution.hbm.xml that is linked to jbpm.hibernate.cfg.xml: <class name="*RMExecutionImpl*" table="JBPM4_EXECUTION" discriminator-value="pvm"> The only thing is: had to keep package name org.jbpm.pvm.internal.model Would still appreciate any other suggestions -------------------------------------------------------------- To reply to this message visit the message page: http://community.jboss.org/message/530045#530045
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
