Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Activity Diagram

22,387 views

Published on

UML for Business Process Modelling (Activity Diagram)

Published in: Technology
  • thank a lot
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • good presentation
    can understand easily
    thank you
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Activity Diagram

  1. 1. UML Lecture Series UML SIG UML for Business Modeling (Activity Diagram)
  2. 2. Session Objectives <ul><li>Explain the role of UML in modelling. </li></ul><ul><li>Demonstrate the use of activity diagrams in business modeling. </li></ul><ul><li>Apply basic and advanced elements of activity diagram notations. </li></ul><ul><li>Demonstrate the use of activity diagrams in systems modeling. </li></ul><ul><li>Awareness of typical mistakes made by students. </li></ul>At the end of this session, YOU should be able to:
  3. 3. Keywords Business modelling Activity state Transition Triggerless transition Synchronisation bar Start state Stop/End state Branch Guard Fork Join Concurrent thread Alternative thread Conditional thread System modelling
  4. 4. Session Objectives <ul><li>Explain the role of UML in modelling. </li></ul><ul><li>Demonstrate the use of activity diagrams in business modeling. </li></ul><ul><li>Apply basic and advanced elements of activity diagram notations. </li></ul><ul><li>Demonstrate the use of activity diagrams in systems modeling. </li></ul><ul><li>Awareness of typical mistakes made by students. </li></ul>At the end of this session, YOU should be able to:
  5. 5. Why Model? Captures Processes Enhances Communication Manages Complexity Defines Architecture Enables Reuse
  6. 6. Introduction to UML UML is a language for visualising , specifying , constructing and documenting the artifacts of a software intensive system. Open Specification by OMG (Object Management Group). Current standard is UML 2.0. However, most students use UML 1.4 which is sufficient for most academic projects. UML is an analysis and design technique. It has to be used together with a process in a development environment.
  7. 7. Overview of UML Diagrams
  8. 8. Thoughts to Ponder … If you reuse code, You'll save a load, But if you reuse design, Your future will shine. Ralph E. Johnson.
  9. 9. … What is design? ... It’s where you stand with a foot in two worlds—the world of technology and the world of people and human purposes—and you try to bring the two together. Terry Winograd, “Bringing Design to Software”, Addison Wesley, Stanford University and Interval Research Corporation, With John Bennett, Laura De Young, and Bradley Hartfield, ISBN: 0-201-85491-0. 310 Thoughts to Ponder …
  10. 10. Session Objectives <ul><li>Explain the role of UML in modelling. </li></ul><ul><li>Demonstrate the use of activity diagrams in business modeling. </li></ul><ul><li>Apply basic and advanced elements of activity diagram notations. </li></ul><ul><li>Demonstrate the use of activity diagrams in systems modeling. </li></ul><ul><li>Awareness of typical mistakes made by students. </li></ul>At the end of this session, YOU should be able to:
  11. 11. Business Modelling
  12. 12. Activity Diagram In its basic form, an activity diagram is a simple and intuitive illustration of what happens in a workflow, what activities can be done in parallel, and whether there are alternative paths through the workflow. Historically, activity diagrams have mostly been used in the business process modeling domain but are also useful in system modelling.
  13. 13. Business Modelling This example is a proposal process, taken from an organization that sells telecom network solutions.
  14. 14. Session Objectives <ul><li>Explain the role of UML in modelling. </li></ul><ul><li>Demonstrate the use of activity diagrams in business modeling. </li></ul><ul><li>Apply basic and advanced elements of activity diagram notations. </li></ul><ul><li>Demonstrate the use of activity diagrams in systems modeling. </li></ul><ul><li>Awareness of typical mistakes made by students. </li></ul>At the end of this session, YOU should be able to:
  15. 15. Basic Notations Start State Activity State Decision (branch) Synchronisation bar Stop/End State Concurrent thread Alternative thread Transition
  16. 16. Activity Diagram - Notations <ul><li>Activity states , represent the performance of a step within the workflow. </li></ul><ul><li>Transition show what activity state follows after another. </li></ul><ul><li>Decisions (branch) for which a set of guard conditions are defined. These are conditions that must be met to trigger the transition. </li></ul><ul><li>Synchronization bars , which you can use to show parallel subflows. Synchronization bars allow you to show concurrent threads - fork or join. </li></ul>
  17. 17. Advanced Notations Guard conditions can be used to show that one of a set of concurrent threads is conditional. Conditional Threads
  18. 18. Advanced Notations An activity state may reference another activity diagram, which shows the internal structure of the activity state by having a nested activity graphs. You can either show the sub-graph inside of the activity state or let the activity state refer to another diagram Nested Activity Diagrams
  19. 19. Advanced Notations Nested Activity Diagrams
  20. 20. Advanced Notations The contents of an activity diagram may be organized into partitions (swimlanes) using solid vertical lines. A partition does not have a formal semantic interpretation, but is, in business modeling, often used to represent an organizational unit of some kind Partitions
  21. 21. Session Objectives <ul><li>Explain the role of UML in modelling. </li></ul><ul><li>Demonstrate the use of activity diagrams in business modeling. </li></ul><ul><li>Apply basic and advanced elements of activity diagram notations. </li></ul><ul><li>Demonstrate the use of activity diagrams in systems modeling. </li></ul><ul><li>Awareness of typical mistakes made by students. </li></ul>At the end of this session, YOU should be able to:
  22. 22. Systems Modelling Just as you would use an activity diagram to show the structure of a workflow, you could also use it to show the structure of a flow of events of a system use case
  23. 23. System Modelling
  24. 24. Session Objectives <ul><li>Explain the role of UML in modelling. </li></ul><ul><li>Demonstrate the use of activity diagrams in business modeling. </li></ul><ul><li>Apply basic and advanced elements of activity diagram notations. </li></ul><ul><li>Demonstrate the use of activity diagrams in systems modeling. </li></ul><ul><li>Awareness of typical mistakes made by students. </li></ul>At the end of this session, YOU should be able to:
  25. 25. Common Mistake Made by Students <ul><li>Business Modelling (activity diagram) which appears like system modelling. </li></ul><ul><li>Students tend to be overly software centric paying little emphasis on the underlying problem statement which has to be mapped first (business modelling). </li></ul>
  26. 26. True/False <ul><li>Business modelling is typically done before system modelling. </li></ul><ul><li>Alternative thread must go along with a branch. </li></ul><ul><li>A branch can have at most THREE (3) alternative threads </li></ul><ul><li>Fork: One incoming transition and two or more outgoing transition. </li></ul><ul><li>Branch: Two or more incoming transition and one outgoing transition. </li></ul><ul><li>Synchronisation bar allow sequential threads. </li></ul><ul><li>Conditional threads are also called triggered transitions and must be shown with a guard condition. </li></ul><ul><li>Transitions without guard conditions are called triggerless transitions . </li></ul>
  27. 27. Summary <ul><li>Role of UML in systems modelling. </li></ul><ul><li>Basic elements of activity diagrams are activity states, transitions, decisions, and synchronization bars. </li></ul><ul><li>Activity diagrams can be used to show concurrent threads, and alternative threads, as well as conditional threads in a workflow. </li></ul><ul><li>Activity diagrams can be used to illustrate the workflow of business processes - called business modelling. </li></ul><ul><li>Activity diagrams can be used to illustrate the flow of events of a use case – for systems modelling. </li></ul><ul><li>Awareness of typical mistakes by students. </li></ul>
  28. 28. Reference Ericsson M. 2004, “ Activity Diagram: What They Are and How To Use Them ” Level: Advanced, The Rational Edge, IBM
  29. 29. Lab Session Draw the adjacent diagram in Visual Paradigm
  30. 30. Q & A Question and Answer Session

×