## Exercise 5: Create Process Diagrams

The purpose of this exercise is to explore the diagram features of Eclipse Process Framework Composer.

EPF Composer supports three types of process diagram. These are:

> • Activity Diagram

> > This shows the (sub) activities in a higher level activity. It shows the sequence relationships between the activities.

> • Activity Detail – similar to RUP Workflow Detail

> > This shows the tasks in an activity with their performing roles and input and output work products.

> • Work Product Dependency Diagram

> > This diagram can be used to show how a work product is dependent on other work products.

These diagrams can then be included in the published web site. The diagrams are automatically generated (to a degree) and inherently synchronized with the WBS. Changes to the process structure using the diagram editor are automatically reflected in the WBS, and vice versa.

1. Switch to Authoring perspective.

2. Select the My RUP delivery process that you have been working on.

3. Highlight the delivery process in the WBS and then right-click.

4. Click Diagrams > Open Activity Diagram. The diagram editor should open, showing the top level activities - phases.

5. Expand the Palette on the right of the diagram view. All the elements required to create an Activity Diagram are available on the palette. Add a new phase to the diagram – call it, Construction. Create links between the phases to show the sequence of the phases.

6. Switch back to the Work Breakdown Structure view and notice the new phase. Also notice that the links you added on the diagram are reflected in the Predecessors column.

7. Double click the Inception Phase in the diagram – it will drill down to show the contained Activities (the rule is that the editor will display the process elements at the level below the current selected element). Successive drill down through the levels is possible by clicking on the diagram elements.

8. Close the diagrams you have opened.

9. In the Work Breakdown Structure, right-click on the Requirements activity and select, Diagrams > Open Activity Detail Diagram. The Activity Detail Diagram is automatically generated. It shows:

> • The Roles that perform tasks in the activity

> • The Tasks that the roles perform

> • The input and output work products for each task

> You can change the layout of the diagram but you cannot add or remove any elements from the diagram.

10. Close the diagrams you have opened.

11. In the Work Breakdown Structure, right-click on the Requirements activity and select, Diagrams > Open Work Product Dependency Diagram. The work products used in the activity are automatically added to the diagram.

> Add a (dependency) link between two work products. This indicates that the work product at the arrow end of the link is dependent on the other work product, i.e., the other work product needs to be created in order to create the second work product.

> Add a work product descriptor to the diagram.

12. Switch back to the delivery process and open the Work Product Usage view. Notice the new work product in the Requirements activity.

13. Once you have edited a diagram, you can choose to include it or exclude it when publishing the process in a configuration. In the Work Breakdown Structure, right-click on the Requirements activity and select Diagrams > Publishing Options. Check or uncheck the types of diagram listed. If a diagram type is not listed, it means that you have not edited that diagram type for the activity yet.