[jBPM Users] - Migrating from 3.2.6 to 4.X?
by gfargone
Hello,
We are using JBPM 3.2.6.SP1 in production. I have read here that process definitions are about 80% convertible going to JBPM 4. However, I have not found any information on migrating the underlying database.
Loosing all existing process data is not really a good incentive to convince our users to allow me to upgrade to 4.X.
It would be really nice to get the new EJB command interface which is far more functional than the 3.X branch has. I have wrappers around all calls to JBPM so that aspect of the upgrade may be the easiest. Reworking process definitions seems straight forward and we have only four distinct processes currently.
The greatest dilemma at this point is pending processes in the system.
Any ideas how the upgrade could be made without loosing all existing data?
Thank You,
Tamas
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268359#4268359
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268359
16 years, 4 months
[jBPM Users] - Re: How to suspend Join Execution
by saraswati.santanu
Pradeep,
your problem is not very clear to me. It will be helpful if you can provide some code that can get the exception.
However, whatever I understood, an approach may be to add a start event listener on the join node and delete the tasks you do not need when there is a request for rework. A sample code for the start event listener of the join node may be like this:
| public void notify(EventListenerExecution execution) throws Exception {
| Task task = //find the task you need to invalidate
| //ugly casting. Is there a better way
| ((TaskImpl)task).setExecution((Execution)null);
| ((TaskImpl)task).setExecutionDbid(null);
| //now delete the task
| taskService.deleteTask(task.getId());
| }
|
You can always check and see if there is a better way to delete an existing task.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268294#4268294
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4268294
16 years, 4 months