-
1. Re: jBPM5 Web application
doboss Jan 2, 2013 9:23 AM (in response to roxy1987)I'm not sure if this is exactly what you are looking for but I have a simple web app which runs a JBPM process attached here: https://community.jboss.org/thread/217311?tstart=0
It depends on having jboss and jbpm installed via the jbpm-installer and having the process deployed to Guvnor.
HTH
-
2. Re: jBPM5 Web application
roxy1987 Jan 2, 2013 10:06 AM (in response to doboss)Thanks for the reply doboss. I have been able to create a web application. I can start processes, list tasks and details, complete and reassign tasks. What I am looking for now is to list processes.
To get task related details I use a TaskClient and make connection as follows :
TaskClient client =
new TaskClient((TaskClientConnector) new HornetQTaskClientConnector(name, new HornetQTaskClientHandler(SystemEventListenerFactory.getSystemEventListener())));System.
out.println("Connection Output : "+result);BlockingTaskOperationResponseHandler responseHandler =
new BlockingTaskOperationResponseHandler();Now, how do i achieve the same thing to get all the process related details. Is there a similar client for processes?
Regards.
-
3. Re: jBPM5 Web application
doboss Jan 2, 2013 10:08 AM (in response to roxy1987)Well it sounds like you are a lot farther along than I am. I still have not figured out how to get persistence of the JBPM stuff in my web app. At some point down the road I will likely need to figure out tasking as well, but haven't started to look at that yet.
Keep up the good work!
-
4. Re: jBPM5 Web application
roxy1987 Jan 2, 2013 10:12 AM (in response to doboss)Once I am through with the process part, I will post my web application in blog. You can check it out then.