[jboss-user] [JBoss jBPM] - Problem ending a process instance

fjfernandez do-not-reply at jboss.com
Wed Nov 15 11:33:09 EST 2006

Hi everybody,

as i said in previous topics, i'm not an expert using jbpm, so i'm sorry if my doubt is too basic, but i have found nothing using the search tool. I'm working on a web application based in jbpm. Like in the demo there is a button for saving and a button for finishing the task. Also, i have to add a third button (End Process). Its functionality is very easy. It has to end the process instance. The problem is that when i click on the button and when i call the method ProcessInstance.end() (not in a static way, of course), the process instance is marked like ended in the data base (the filed end_ in table jbpm_processinstance is not null), but the window with user's task has the task where i click the End Process button. I'll give you an example. I have 3 tasks. In one of them i push End Process and the process instance is marked as ended, but i have still got 3 tasks. Even i can continue with the next task of the process definition. I hope i have made myself understood.

Any idea or help will be wellcome. Thanks in advanced and regards

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986210#3986210

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986210

More information about the jboss-user mailing list