JBoss Community

Re: Have a good CDI architecture to use JBPM5

created by Sandra Renaud in jBPM - View the full discussion

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 done. 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

Start a new discussion in jBPM at Community