[jboss-user] [jBPM] - Re: Have a good CDI architecture to use JBPM5

Sandra Renaud do-not-reply at jboss.com
Tue Nov 13 07:32:42 EST 2012


Sandra Renaud [https://community.jboss.org/people/joploya] created the discussion

"Re: Have a good CDI architecture to use JBPM5"

To view the discussion, visit: https://community.jboss.org/message/776178#776178

--------------------------------------------------------------
Yes I use a CDI container : WELD.

I inject the TaskServiceEntryPoint to manage tasks without problem. But *I don't understand where the link with the web service is don*e. I haven't found a HornetQ client. 

Also, to check if I understand, I always have to manage by my own the loading of the knowledgeBase and KnowledgeSession to start a new processInstance like below :
ProcessInstance process = ksession.startProcess("com.st.ams.flow.npl", params);Then the process go to the next wait step wich is my first humanTask. To complete it I have to retrieve it. This is what I done before :

And with your API I can do the same with the code below right?

Is this method getTasksAssignedAsPotentialOwner use the TaskOrm file in the Human-Task-Service jar? Because this TaskOrm use jpa1 instead of jpa2.

Many thanks in advance for your reply.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/776178#776178]

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/20121113/d54eaa48/attachment.html 


More information about the jboss-user mailing list