Pre-requisites: Ensure that the process fragment that you want to add is available in the Process Fragments folder.
To add process fragments to Process Definitions:
Open the Process Definition that you want to add the process fragments to, in the Process Definition Editor.
Click the appropriate process fragment in the Navigator view.
Drag and drop the process fragment to the Process Definition editor.
The nodes and arrows that are present in the process fragment are added to the Process Definition.
The upper left point of the process fragment as defined while creating the process fragment is placed in the editor at the location dropped.
The following points should be remembered while adding a process fragment to a Process Definition.
If the process fragment has a Start Node, a confirmation dialog is displayed when you add it to the Process Definition. The confirmation dialog confirms that you want to replace the Start Node with the one defined in the process fragment. If you replace the Start Node with the one in the process fragment, outgoing arrows defined in the target process definition re-attach the Start Node from the process fragment.
A swimlane has the style to place the swimlane title on the left-hand side or on the top of a swimlane. If the process definition to which you want to add a process fragment has selected the style different from the process fragment for the swimlane title, the style of swimlane defined in the process fragment is changed to the same style as that process definition.
When you add a process fragment to a Process Definition, UDAs used for nodes defined by process fragment are copied and pasted to the process definition, except those UDAs which have the same name as UDAs in the target Process Definition. System-generated UDAs with same name as defined in the target Process Definition are renamed and pasted to the target Process Definition.