How to duplicate all information of process instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-15-2013 05:14 AM
I want to duplicate all information of the process instance. Is there any api to do it or I need to handle my self by query & insert DB?
Thank for your help

- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2013 04:27 AM


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2013 04:59 AM
Best regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2013 05:53 AM
In my app, I have a batch Object related to 1 process instance. This Object has many child object. When split some child objects from parent, I need each object related to 1 new process instance same as original instance.
Sorry for my English.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2016 10:03 PM
In detail: there is 10 set machine need to product, when the flow goes to product, some exceptions occured, so we need to split one order to several part,such as 2,3,5 set in each order,so it will generate 3 orders ,also the history is same,but the part follows is not the same.
so the first idea in my mind is to clone the running process to 3 , and modify some info,and save to db, treat them like 3 process.
If you solve the problem or some idea to this ,welcome to communicate. email:xiaohelong2005@126.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2013 08:02 AM
If it is only related to variables, though, simply fetch the variables map from the original process instance and pass it through
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2013 09:16 PM
We need runtime & history information of process instance too. So I think the only way now is query & insert to DB directly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2013 07:00 AM
What about a process definition with a sub-process started by a parallel activity for each object in your batch? Then you could track the sub-processes (for each object) and still have a reference to and history of the whole batch (object) in the parent process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2016 10:05 PM
In detail: there is 10 set machine need to product, when the flow goes to product, some exceptions occured, so we need to split one order to several part,such as 2,3,5 set in each order,so it will generate 3 orders ,also the history is same,but the part follows is not the same.
so the first idea in my mind is to clone the running process to 3 , and modify some info,and save to db, treat them like 3 process.
If you solve the problem or some idea to this ,welcome to communicate. email:xiaohelong2005@126.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2016 03:39 AM
