I want to programmatically start a process. It seems pretty simple, just use the constructor with the process definition. I do it and it seems to work, but the process never shows up in the console.
I think the problem is that when I deploy from the JBoss IDE for eclipse, it says the deploy was successful, but it never shows up in the console. If I save the deploy using the other button, and then go to the console to deploy it, then it works fine.
I have gone over all the documentation I can find, I am using
/jbpm-console/uploadas my server deployer, the Test Connection works.
ProcessInstance instance = new ProcessInstance(processDefinition)and then flip over to the console to verify that the process did, indeed, get started up.
You should save created instance manually. Try
ProcessInstance instance=processDefinition.createProcessInstance(); jbpmContext.save(instance);