[jboss-dev-forums] [jBPM Development] - Call statefulKnowledgeSession.startProcess() from an SessionBean
stundzig
do-not-reply at jboss.com
Wed Nov 7 17:46:53 EST 2012
stundzig [https://community.jboss.org/people/stundzig] created the discussion
"Call statefulKnowledgeSession.startProcess() from an SessionBean"
To view the discussion, visit: https://community.jboss.org/message/775461#775461
--------------------------------------------------------------
Hi folks,
i would like to call startProcess() and completeWorkItem() on a StatefulKnowledgeSession. Therefore I've an SessionBean and and j2ee-client application.
I call the startProcess from my client and delegates them to the SessionBean. The SessionBean itself does some logic and after that, they should call startProcess() or something else on the current running JBPM application.
But how could I get a reference to the JPAKnowledgeService or StateKnowledgeService or something else? Or a SessionBean which I could get from JNDI?
I've tried some different approaches in the last hours, for example inject persistence unit and build an own Session around it, but without any success.
Could someone point me to the right documentation please or post a code snippet?
I'm using BRMS 5.3.0.
Thanks in advance.
Regards
Steffen...
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/775461#775461]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20121107/620a60fd/attachment.html
More information about the jboss-dev-forums
mailing list