## Exercise 4: Create a new delivery Process using capability patterns.

The purpose of this exercise is to learn how to create a delivery process using Capability Patterns .

A Capability Pattern is a process ‘fragment'. It represents a process that can be reused many times in the same process and / or in different processes. Organizing core method content into capability patterns and then using the capability patterns to construct full life-cycle delivery processes is a key feature of Eclipse Process Framework Composer.

A capability pattern can be included in another process (another capability pattern or a delivery process) in two ways:

> • Copy – this creates a full copy of the capability pattern in the target process but does not retain any links back to the original capability pattern. The capability pattern can be customized in the new process. Any changes that are subsequently made to the capability pattern are not reflected in the process into which it was copied.

> • Extends – this extends the capability pattern into the process. The process retains links to the capability pattern and any subsequent changes to the capability pattern are reflected in the process into which it is extended. The capability pattern can be customized by suppressing tasks, roles, and work products. Other changes cannot be made.

We will add some Capability Patterns to the Delivery Process you created in Exercise 3.

To add a Capability Pattern using Copy:

1. Switch to the authoring perspective and open the My RUP delivery process you created in Exercise 3.

2. In the Configurations View click Processes > Capability Patterns > Classic RUP > Discipline Workflows > Project Management.

3. Drag and drop the Project Management Capability Pattern onto the Inception phase in My RUP delivery process.

4. Select Copy in the pop-up box.

5. Expand one of the activities in the Project Management capability pattern to the Task level. Note that the task name is displayed in black. This indicates that the task is available for you to edit. Any changes in the Capability Pattern will not be reflected in your process. You can edit the task in the Properties view.

To add a Capability Pattern using Extends:

6. Create a new Phase in the My RUP delivery process. Right-click on the first row and select New Child > Phase . Call the phase, Elaboration.

7. Create a new Iteration in the Elaboration phase. Right-click on the Elaboration phase and select New Child > Iteration . Call the iteration, Elaboration Iteration 1.

8. In the Configurations View, click Processes > Capability Patterns > Classic RUP > Discipline Workflows > Project Management.

9. Drag and drop the Project Management Capability Pattern onto the Elaboration Iteration 1 iteration in My RUP Process.

10. Select Extend in the pop-up box.

11. Expand one of the activities in the Project Management capability pattern you have just added to the Task level. Note that the task name is displayed in green italics. This indicates that the task is in a part of a process defined elsewhere – a Capability Pattern. Any changes to the Capability Pattern will be reflected in your process. Also, the Properties view shows the task details, but they cannot be edited.

12. Right click on a task in the extended capability pattern and select Suppress . The task is grayed out. The task will not appear in the published version of the delivery process, nor will it be included in an export of the process.