[jboss-user] [JBoss jBPM] - Re: Transfer Process Instance id to Previous same Process de

crossleyjuan do-not-reply at jboss.com
Tue Oct 24 08:15:42 EDT 2006

just do the following:

JbpmContext ctx = conf.createJbpmContext();
GraphSession session = ctx.getGraphSession();
String processName = TheNameOfYourProcess;
ProcessDefinition defTest = session.findLatestProcessDefinition(processName);

and that's it.

Do not forget to replace the TheNameOfYourProcess for the name of your process.

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

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

More information about the jboss-user mailing list