Rational Software Corp.

TOC PREV NEXT INDEX



Defining a Workflow

Defining a Workflow

When you define a workflow, your activity diagram should answer the following questions:


Modeling a Workflow with an Activity Diagram

Modeling a workflow in an activity diagram can be done several ways; however, the following steps present just one logical process:

1 Identify a workflow objective. Ask, "What needs to take place or happen by the end of the workflow? What needs to be accomplished?" For example, if your activity diagram models the workflow of ordering a book from an online bookstore, the goal of the entire workflow could be getting the book to the customer.

2 Decide the pre- and post-conditions of the workflow through a start state and an end state. In most cases, activity diagrams have a flowchart structure so start and end states are used to designate the beginning and end of the workflow. Start and end states clarify the perimeter of the workflow.

3 Define and recognize all activities and states that must take place to meet your objective. Place and name them on the activity diagram in a logical order.

4 Define and diagram any objects that are created or modified within your activity diagram. Connect the objects and activities with object flows.

5 Define who or what is responsible for performing the activities and states through swimlanes. Name each swimlane and place the appropriate activities and states within each swimlane.

6 Connect all elements on the diagram with transitions. Begin with the "main" workflow.

7 Place decisions on the diagram where the workflow may split into an alternate flow. For example, based on a Boolean expression, the workflow could branch to a different workflow.

8 Evaluate your diagram and see if you have any concurrent workflows. If so, use synchronizations to represent forking and joining.

9 Set all actions, triggers, and guard conditions in the specifications of each model element.


Activity Diagram-Specific Model Elements


Rational Software Corporation  http://www.rational.com
support@rational.com
docs@us.ibm.com
Copyright © 1993-2000, Rational Software Corporation. All rights reserved.
TOC PREV NEXT INDEX