Changing script tasks of in-flight processes
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2014 04:55 AM
We use activiti to support processes that take 6-12 months to complete. During that period, we will typically upgrade the application several times (every 3-4 months).
Some of these running processes contain script tasks that use custom java-apis, Now we need to make minor changes to those apis, and thus we need to make changes in the script tasks.
New processes will use new process definitions using new apis, but how do we change the existing in-flight processes?
Eirik
Some of these running processes contain script tasks that use custom java-apis, Now we need to make minor changes to those apis, and thus we need to make changes in the script tasks.
New processes will use new process definitions using new apis, but how do we change the existing in-flight processes?
Eirik
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2014 02:03 AM
Hi Eirik,
Options:
To answer your question:
you can create new process definition and use
Regards
Martin
Options:
- * your API should support backward compatibility.
* service registry
…
To answer your question:
you can create new process definition and use
org.activiti.engine.impl.cmd.SetProcessDefinitionVersionCmd
to change version of the process instance.Regards
Martin
