Migrating task from old bpmn process to new process

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2014 10:24 AM
HI,
I am using activiti for one of our business process . We have created almost 100000 task for a process say "RealWorkflow". Few of the tasks have been completed. Now due to some requirement change, I had updated few more steps/operations in my process(.bpmn) file and re-deployed it.
Problem : The new task that I have created after the re-deployment works fine and it takes the new changes in the bpmn file.
But for the old task I can't do those new operations(I have included in the updated process).
Question: 1.How to migrate those old tasks from the old process to the new process so that new changes in the process will be available
to those old tasks.
2.Is there any way by which I can retain both version of the process , the old task will follow the the process and the new tasks
will follow the new one.
If both things are not possible, Can you please give me some other alternate approach ..
Thanks,
Rupesh Mukherjee
I am using activiti for one of our business process . We have created almost 100000 task for a process say "RealWorkflow". Few of the tasks have been completed. Now due to some requirement change, I had updated few more steps/operations in my process(.bpmn) file and re-deployed it.
Problem : The new task that I have created after the re-deployment works fine and it takes the new changes in the bpmn file.
But for the old task I can't do those new operations(I have included in the updated process).
Question: 1.How to migrate those old tasks from the old process to the new process so that new changes in the process will be available
to those old tasks.
2.Is there any way by which I can retain both version of the process , the old task will follow the the process and the new tasks
will follow the new one.
If both things are not possible, Can you please give me some other alternate approach ..
Thanks,
Rupesh Mukherjee
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2014 01:50 AM
Hi Rupesh,
Migration to the latest process definition can not be done automatically. In special occasions you can use
The default behavior is process instance is driven by process definition which is the latest at the time when process instance starts. Process definitions (all versions) are stored in the repository.
Regards
Martin
1.How to migrate those old tasks from the old process to the new process so that new changes in the process will be available
to those old tasks.
Migration to the latest process definition can not be done automatically. In special occasions you can use
org.activiti.engine.impl.cmd.SetProcessDefinitionVersionCmd
2.Is there any way by which I can retain both version of the process , the old task will follow the the process and the new tasks will follow the new one.
The default behavior is process instance is driven by process definition which is the latest at the time when process instance starts. Process definitions (all versions) are stored in the repository.
Regards
Martin
