What I mean by launch in the server is:
1) I use the designer to create a process and unit tests that work as I intend
2) I deploy the process to the server, it works as I intend, I can interact with it from
the console
3) Now, I want to write a class that starts a new instance of the process in the server.
That's all. That class will be imported into a drool so that, under the right
conditions, we will launch a new instance of the process.
In other words, now that I have successfully created, debugged, and deployed a good
process, how do I launch a new instance of it programmitically? All I want to do is
exactly what the jbpm console does: possibly get a list of deployed processes, and start
up a new instance of one.
This exact use has to be the raison d'etre of jbpm, and the web console does it, so I
figure I must be missing something really basic and obvious to not grasp how I correctly
do jbpmContext.getProcessInstance(processId). The only way this works when I try it is if
I first parse the process, create the schema, store the process, and then get it back,
which means the instance of the Jbpm server I am talking to is my own, not the one used by
the console, not the one started up by start.bat
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129640#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...