[jboss-user] [jBPM] - Re: Integrating jBPM 5 into web application - architecture
Pedro Gonçalves
do-not-reply at jboss.com
Thu Jun 21 08:17:37 EDT 2012
Pedro Gonçalves [https://community.jboss.org/people/pgoncalves] created the discussion
"Re: Integrating jBPM 5 into web application - architecture"
To view the discussion, visit: https://community.jboss.org/message/743352#743352
--------------------------------------------------------------
What I do is this:
public void startProcess(CoreData coreData, String definitionId) {
//build variables.......
ProcessInstance processInstance = kSession.startProcess(definitionId, variables);
ProcessInfoData processInfoData = new ProcessInfoData();
processInfoData.setkSessionId(kSession.getId());
processInfoData.setProcessInstanceId(processInstance.getId());
serviceProcessInfo.create(processInfoData);
}
So, in my db, I have a table that maps KnowledgeSession <---> ProcessInstance
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/743352#743352]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120621/791ca4c0/attachment.html
More information about the jboss-user
mailing list