[jbpm-users] [jBPM Users] - Jboss jbpm 4.2 integration with spring

msahai do-not-reply at jboss.com
Mon Nov 9 06:42:53 EST 2009


Hi community,

i have started using jboss jbpm 4.2 and managed to integrate it with spring.

i am able to deploy the sample process defintion and able to getProcessInstance , but when
i query for processInstance.getId() it is coming as null.
i had taken a look at source code and found out that  id generation is done within Executionimpl class:
protected void composeIds() {
this.id = IdComposer.getIdComposer().createId(processDefinition, parent, this);
} and id composer is Databaseid composer or memoryIdComposer.

 and default id generator implementation returns null for all process instances.

i also see <id-generator> in jbpm.cfg.xml and thinks that its value must be overridden somehow.
database used is mysql.

thanks
mayank



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

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


More information about the jbpm-users mailing list