Hi all,
I'm wondering whether there's a way to create a variant/definition copy of a process model including its subordinate objects and models. Whenever I create such a copy, I lose all assignments. So what I'm looking for is something like a checkbox "include subordinate models" in the variant copy-dialog along with a specification of the max recursion depth.
In the end I'm looking for a complete, clean copy of a process structure, favourably exclusive certain object types (library objects), which could be treated as occurrence copies. Finding and copying every single model and to create the assignments manually doesn't seem the way to do it.
Maybe I just miss the wood for the trees...
If anybody has a solution, I'd be very much appreciated. Maybe such a copy function is rather a case for a report/macro than for the common copy-paste functionality.
Thanks and best regards,
Philipp
Ad hoc I would prefer the following procedure to solve the task:
- Marking the relevant models with a specific name flag to collect them later on from different groups with the search functionality.
- Creating group to store the variant models.
- Collecting the relevant models in the database (right click on the main group, clicking on find, and using the name flag with wildcard and “Use pattern matching” check box).
- Marking the find result.
- Right click on the find result and on “Copy”.
- “Paste as variant” into the variant group.
- Deciding which objects should be newly created as variant, which as occurrence copy.
- Start the variant creation.
Maybe there are more elegant procedures, but that should help for the first time. :-)
That's indeed a way of doing it! For the time being, this appears to be a good an easy solution to deal with this issue - so thanks a lot for you answer :-)
The drawback is, though, that it still needs manual effort to go through the process hierarchy. But it is, of course, by far better than copying every single model manually. And in the long term, should this need keep arising regularly, a macro might be an option.
Best regards,
Philipp