OK, I'm trying now to execute the following code:
private void startProcessDefinition() {
| String processDefinitionName = new String("websale");
| JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance();
| JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
| try {
| GraphSession graphSession = jbpmContext.getGraphSession();
| ProcessDefinition definition =
graphSession.findLatestProcessDefinition(processDefinitionName);
| ProcessInstance instance = definition.createProcessInstance();
| instance.signal();
| jbpmContext.save(instance);
| } finally {
| jbpmContext.close();
| }
| }
"Websale" is the standard jBPM process that is already deployed on the server.
Now I just want to start it with the help of this method that is in my jsp file.
Now I don't get any errors but also nothing happens I mean that I don't see in the
jbpm-console that the process has been started.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150787#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...