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&...]