Copying or moving library items
You can copy or move existing library items to a new or existing process application or toolkit in the Designer view.
About this task
In the library in the Designer view, you can copy or move existing library items to a new or existing process application or toolkit.
The following table describes how copy and move operations are different:
| Action | Description |
|---|---|
| Copy a library item | Creates a new library item that is a duplicate of the original item. The newly created item is not associated with the original item from which it was copied. |
| Move a library item | Relocates the original item to a new or different process application or toolkit. |
When you copy library items, any references to those items in the source process application or toolkit are unaffected because the original items remain and are still referenced. Also be aware that all the toolkits the source process application or toolkit are dependent on are copied to the destination process application or toolkit even if they are not needed by the copied library items. After copying the needed library items, you should remove any unneeded toolkits.
When you move library items, those changes can affect existing implementations and other references in the source process application or toolkit. For example, if the implementation for an activity is a nested process and you move the nested process without moving the BPD that contains the activity, whether the activity's implementation (reference to the nested process) is good or is broken depends upon where you move the nested process as described in the following table:
| If you move the nested process to... | The reference... |
|---|---|
| A new toolkit | Is good because Process Designer automatically creates a new dependency on the new toolkit. |
| An existing toolkit that the source process application is not currently using | Is good because Process Designer automatically creates a new dependency on the existing toolkit. |
| An existing toolkit that the source process application is using | If there are no changes to the destination toolkit since the most recent snapshot was created, the reference is good because Process Designer automatically creates a new snapshot of the toolkit and updates the existing toolkit dependency to the new snapshot. If there are changes to the destination toolkit since the most recent snapshot was created, the reference is broken until you update the existing toolkit dependency to the new snapshot of the toolkit that Process Designer automatically creates. |
| A new or existing process application | Is broken because process applications cannot depend upon each other. When you move library items to process applications, be sure to move all related items to avoid broken references. IBM BPM automatically resolves broken references when related items are not moved simultaneously. |
Procedure
To move or copy library items, complete the following steps.
Results
If you do not like the results of a move and you are working in the Process Designer desktop editor, you can undo it immediately. If you complete any other action other than undo, the move is permanent. The undo completely reverses the move except that any process applications or toolkits created due to the move remain but do not have any content. You can archive these process applications or toolkits.