SlideShare a Scribd company logo
1 of 17
Introduction to Rational Rose 98i Module 8: Activity Diagram
Objectives: Activity Diagram ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Creating an Activity Diagram
Activity Diagram Toolbar Selection Tool Note State Start State State Transition Horizontal Synchronization Decision Text Box Anchor Note to Item Activity End State Transition to Self Vertical Synchronization Swimlane
Activities
Adding Transitions
Reflexive Transitions
Adding a Start State
Synchronization - Create a Fork
Synchronization - Create a Join
Adding a Decision
Adding a Decision - Guard Conditions
Swimlanes Swimlane
Assign a Class to a Swimlane
Moving Activities to Swimlanes
End States End State
Exercise:  Activity Diagram

More Related Content

Similar to 08activity

Software System Engineering - Chapter 14
Software System Engineering - Chapter 14Software System Engineering - Chapter 14
Software System Engineering - Chapter 14Fadhil Ismail
 
Activity diagram model
Activity diagram modelActivity diagram model
Activity diagram modelahmed zewita
 
Lecture6 activity diagrams
Lecture6 activity diagramsLecture6 activity diagrams
Lecture6 activity diagramsShahid Riaz
 
Digite - Project Management Training
Digite - Project Management TrainingDigite - Project Management Training
Digite - Project Management TrainingDigite, Inc.
 
Moves Management in The Raiser's Edge
Moves Management in The Raiser's EdgeMoves Management in The Raiser's Edge
Moves Management in The Raiser's EdgeMolly Maple Bryant
 
Decoupling with Domain Events
Decoupling with Domain EventsDecoupling with Domain Events
Decoupling with Domain EventsSteven Smith
 
Wicket KT part 1
Wicket KT part 1Wicket KT part 1
Wicket KT part 1stuq
 
Cognos Online Training @ Adithya Elearning
Cognos Online Training @ Adithya ElearningCognos Online Training @ Adithya Elearning
Cognos Online Training @ Adithya Elearningshanmukha rao dondapati
 
Cedar Day 2018 - Smarter Customisation at 9.2 - Graham Smith & Sarah Hurley
Cedar Day 2018 - Smarter Customisation at 9.2 - Graham Smith & Sarah HurleyCedar Day 2018 - Smarter Customisation at 9.2 - Graham Smith & Sarah Hurley
Cedar Day 2018 - Smarter Customisation at 9.2 - Graham Smith & Sarah HurleyCedar Consulting
 
Application Requirements For Rolling Forecasts
Application Requirements For Rolling ForecastsApplication Requirements For Rolling Forecasts
Application Requirements For Rolling ForecastsBen Lamorte
 
Wcm overview
Wcm overviewWcm overview
Wcm overviewamit1858
 
Android Navigation Component
Android Navigation ComponentAndroid Navigation Component
Android Navigation ComponentŁukasz Ciupa
 
Building a loosely coupled toolchain with Rundeck and Puppet
Building a loosely coupled toolchain with Rundeck and PuppetBuilding a loosely coupled toolchain with Rundeck and Puppet
Building a loosely coupled toolchain with Rundeck and Puppetsmeunier114
 
Content-Driven Apps with React
Content-Driven Apps with ReactContent-Driven Apps with React
Content-Driven Apps with ReactNetcetera
 
Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering Madhar Khan Pathan
 

Similar to 08activity (20)

Software System Engineering - Chapter 14
Software System Engineering - Chapter 14Software System Engineering - Chapter 14
Software System Engineering - Chapter 14
 
Activity diagram model
Activity diagram modelActivity diagram model
Activity diagram model
 
Lecture6 activity diagrams
Lecture6 activity diagramsLecture6 activity diagrams
Lecture6 activity diagrams
 
Activity Diagram part8
Activity Diagram part8Activity Diagram part8
Activity Diagram part8
 
Activity diag
Activity diagActivity diag
Activity diag
 
Digite - Project Management Training
Digite - Project Management TrainingDigite - Project Management Training
Digite - Project Management Training
 
Moves Management in The Raiser's Edge
Moves Management in The Raiser's EdgeMoves Management in The Raiser's Edge
Moves Management in The Raiser's Edge
 
Decoupling with Domain Events
Decoupling with Domain EventsDecoupling with Domain Events
Decoupling with Domain Events
 
Wicket KT part 1
Wicket KT part 1Wicket KT part 1
Wicket KT part 1
 
ActivityDiagrams.ppt
ActivityDiagrams.pptActivityDiagrams.ppt
ActivityDiagrams.ppt
 
SAP workflow events
SAP workflow eventsSAP workflow events
SAP workflow events
 
Cognos Online Training @ Adithya Elearning
Cognos Online Training @ Adithya ElearningCognos Online Training @ Adithya Elearning
Cognos Online Training @ Adithya Elearning
 
Cedar Day 2018 - Smarter Customisation at 9.2 - Graham Smith & Sarah Hurley
Cedar Day 2018 - Smarter Customisation at 9.2 - Graham Smith & Sarah HurleyCedar Day 2018 - Smarter Customisation at 9.2 - Graham Smith & Sarah Hurley
Cedar Day 2018 - Smarter Customisation at 9.2 - Graham Smith & Sarah Hurley
 
Step types
Step typesStep types
Step types
 
Application Requirements For Rolling Forecasts
Application Requirements For Rolling ForecastsApplication Requirements For Rolling Forecasts
Application Requirements For Rolling Forecasts
 
Wcm overview
Wcm overviewWcm overview
Wcm overview
 
Android Navigation Component
Android Navigation ComponentAndroid Navigation Component
Android Navigation Component
 
Building a loosely coupled toolchain with Rundeck and Puppet
Building a loosely coupled toolchain with Rundeck and PuppetBuilding a loosely coupled toolchain with Rundeck and Puppet
Building a loosely coupled toolchain with Rundeck and Puppet
 
Content-Driven Apps with React
Content-Driven Apps with ReactContent-Driven Apps with React
Content-Driven Apps with React
 
Fundamentals of Software Engineering
Fundamentals of Software Engineering Fundamentals of Software Engineering
Fundamentals of Software Engineering
 

More from Nguyen Tran (20)

Se 06
Se 06Se 06
Se 06
 
12report
12report12report
12report
 
10team
10team10team
10team
 
07state
07state07state
07state
 
06collaboration
06collaboration06collaboration
06collaboration
 
05sequence
05sequence05sequence
05sequence
 
04class
04class04class
04class
 
03usecase
03usecase03usecase
03usecase
 
02intro
02intro02intro
02intro
 
01about
01about01about
01about
 
Clear case
Clear caseClear case
Clear case
 
Business process excution language
Business process excution languageBusiness process excution language
Business process excution language
 
Vs doc man
Vs doc manVs doc man
Vs doc man
 
Cm mi
Cm miCm mi
Cm mi
 
Sql packager
Sql packagerSql packager
Sql packager
 
Record mydesktop
Record mydesktopRecord mydesktop
Record mydesktop
 
Rational suite&rational rose enterprise
Rational suite&rational rose enterpriseRational suite&rational rose enterprise
Rational suite&rational rose enterprise
 
Umodel 2009
Umodel 2009Umodel 2009
Umodel 2009
 
Rational composer method
Rational composer methodRational composer method
Rational composer method
 
Rational robot
Rational robotRational robot
Rational robot
 

08activity

Editor's Notes

  1. To create an activity diagram in the Browser Click right to select the “owning” package or use case in the Browser and make the popup menu visible. Select the New:Activity Diagram menu command. While the diagram is still selected, enter the name of the diagram. To open an activity diagram Double click on the activity diagram in the browser. An activity diagram is used to model the workflow of a business process, an operation of a class or a use case flow of events (see RUP). It can be added to a package or a class. For simplicity, this course uses an activity diagram to describe the Create a Schedule scenario in the Register for Courses use case. Note that the main difference between an activity diagram and a statechart is that activity diagrams are activity centered; statecharts are state centered.
  2. To customize the activity diagram toolbar Click right on the toolbar to make the popup menu visible. Select the Customize menu command. Click to select the button that you want to add or remove. Click the Add or Remove button to add or remove the button from the toolbar. Click the Close button to close the Customize Toolbar window.
  3. To create an activity Click to select the Activity icon on the toolbar. Click on the activity diagram to place the activity. While the activity is still selected, enter its name. An activity represents the performance of a task in a workflow. It is similar to a state, but with no significant waiting (for events).
  4. To create a state transition Click to select the State Transition icon on the toolbar. Click on the originating activity. Drag the state transition arrow to the successor activity. In an activity diagram, a state transition shows the path from one activity to the next. When one action completes, flow of control passes immediately to the next action.
  5. To create a reflexive transition Click to select the Transition to Self icon on the toolbar. Click on the state. A reflexive state transition is when the successor activity is also the origination activity.
  6. To create a start state Click to select the Start State icon on the toolbar. Click on the diagram to place the start state. Click to select the State Transition icon on the toolbar. Click on the start state on the diagram and drag the arrow to the successor activity. The start state is the initial state of an activity. There is only one start state.
  7. To create a fork Click to select the Horizontal Synchronization icon on the toolbar. Click on the diagram to place the fork. Click to select the State Transition icon on the toolbar. Click on the originating activity on the diagram and drag the arrow to the fork. Click to select the Activity icon on the toolbar, and place the activity on the diagram. Repeat for each concurrent activity. Click to select the State Transition icon on the toolbar. Click on the fork, and drag the arrow to the destination activity. A fork represents splitting a single flow of control into two or more concurrent flows of control. A fork can also be drawn with a Vertical Synchronization.
  8. To create a join Click to select the Horizontal Synchronization icon on the toolbar. Click on the diagram to place the join. Click to select the State Transition icon on the toolbar. Click on the originating activity on the diagram and drag the arrow to the join. Repeat this for each concurrent activity. A join represents the synchronization of two or more concurrent flows of control. A join can also be drawn with a Vertical Synchronization.
  9. To create a decision Click on the Decision icon on the toolbar. Click on the diagram to place the decision. Click to select the State Transition icon on the toolbar. Click on the originating activity and drag the arrow to the decision. A decision is when the workflow branches based on guard conditions. If the decision has two outgoing transitions, the transitions should be determined by a boolean expression.
  10. To create a guard condition Add a new activity to the diagram. Click to select the State Transition icon on the toolbar. Click on the decision on the diagram and drag the arrow to the new activity. Click right on the transition to make the popup menu appear. Select the Open Specification menu command. In the Specification dialog, select the Detail tab. Enter the guard condition in the Guard Condition edit control. Click OK to save the guard condition. The guard condition should be a boolean condition. The guard condition is evaluated only if the flow enters the branch.
  11. To create a swimlane Click to select the Swimlane icon on the toolbar. Click on the activity diagram to place the swimlane. Swimlanes represent organizational roles or units in a business model or specific classes in the design model.
  12. To assign a class to a swimlane Right mouse click on the swimlane title bar in the activity diagram to make the popup menu visible. Select the Open Specification menu command. Click on the Class dropdown list box to select a class. Select a class from the dropdown list box. Click OK to save your work. Assigning a class to a swimlane means that the class is responsible for the activity placed in that swimlane. You can also specify organizational units or business roles for a business model. In this case, the user names the swimlane and does not assign a specific class to the activities.
  13. To move an activity to a swimlane Click to select the activity to be moved. Drag the activity to the appropriate swimlane.
  14. To create an end state Click to select the End State icon on the toolbar. Click on the diagram to place the end state. Click to select the State Transition icon on the toolbar. Click on the originating activity on the diagram and drag the arrow to the end state. An end state is the final state of an activity diagram. An activity diagram can have multiple or no end states.
  15. This is the activity diagram for the Create a Schedule scenario of the Register for Courses use case.