Activity Diagram ATOI Software System Bangalore [email_address]
Activity Diagram <ul><li>Activity diagrams provide a way to model the workflow of a business process or a way to model a c...
Deficiency of UseCase Diagram <ul><li>Use Case diagram presents a static view of system functionality but it contains no i...
Activity diagram provide one solution to all deficiencies <ul><li>Use case can be refined into an activity diagram that “f...
Practical Example of  Using Activity Diagram: <ul><li>A company could use activity diagrams to model the flow for an appro...
Activity <ul><li>An activity represents the performance of “task” or “duty” in a workflow.  It may also represent the exec...
Actions of activity explained On event>> On exit send target
Activity can be employed in depicting: <ul><li>When modeling business process, it can correspond to a human task, such as ...
Activity diagram notations Activity B follows activity A Activity 2 conditionally follows activity 1
Activity diagram notations
Activity Diagram v/s State Diagram <ul><li>The  activity diagrams  are mostly activity centric and  they are typically use...
Upcoming SlideShare
Loading in …5
×

Activity

818 views
759 views

Published on

Object-oriented analysis and design(OOAD) UML Slides. for more slides refer www.scmGalaxy.com.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
818
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
37
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Activity

  1. 1. Activity Diagram ATOI Software System Bangalore [email_address]
  2. 2. Activity Diagram <ul><li>Activity diagrams provide a way to model the workflow of a business process or a way to model a class operation. Workflow </li></ul><ul><li>A workflow is a well-defined sequence of activities that produces an observable value or objective to an individual or entity when performed. </li></ul><ul><li>These diagrams are very similar to a flowchart because you can model a workflow from activity to activity or from activity to state. </li></ul>
  3. 3. Deficiency of UseCase Diagram <ul><li>Use Case diagram presents a static view of system functionality but it contains no information about the dynamics of these functions. </li></ul><ul><ul><li>When one usecase uses several others. We can not see in what order those other usecase are used. </li></ul></ul><ul><ul><li>When one usecase extends another. You do not see under what conditions or at what point the extension occurs. </li></ul></ul><ul><ul><li>Use cases temporal order and required sequencing among them is not seen. </li></ul></ul>
  4. 4. Activity diagram provide one solution to all deficiencies <ul><li>Use case can be refined into an activity diagram that “flowcharts” the steps in the usecase, </li></ul><ul><li>usecase uses several other usecase ,activity diagram can depict the order of use, </li></ul><ul><li>and when use case is extended by another usecase, the diagram shows when and why the extension occur. </li></ul>
  5. 5. Practical Example of Using Activity Diagram: <ul><li>A company could use activity diagrams to model the flow for an approval of orders or model the paper trail of invoices or process of approving a documents. </li></ul><ul><li>An accounting firm could use activity diagrams to model any number of financial transactions. </li></ul><ul><li>A software company could use activity diagrams to model part of a software development process. </li></ul>
  6. 6. Activity <ul><li>An activity represents the performance of “task” or “duty” in a workflow. It may also represent the execution of a statement in a procedure. An activity is similar to a state, but expresses the intent that there is no significant waiting (for events) in an activity. </li></ul>Graphical Depiction Compartment for actions <ul><li>Action: (atomic) An action is best described as a “task” that takes place while inside a state or activity </li></ul><ul><li>There are four possible actions within a state or activity: </li></ul><ul><li>On Entry </li></ul><ul><li>On Exit </li></ul><ul><li>Do </li></ul><ul><li>On Event </li></ul>
  7. 7. Actions of activity explained On event>> On exit send target
  8. 8. Activity can be employed in depicting: <ul><li>When modeling business process, it can correspond to a human task, such as approving a document etc. </li></ul><ul><li>When flowcharting a UseCase, it can correspond to one step in that use case. </li></ul><ul><li>When specifying temporal order among use case, it can correspond to a system function </li></ul>
  9. 9. Activity diagram notations Activity B follows activity A Activity 2 conditionally follows activity 1
  10. 10. Activity diagram notations
  11. 11. Activity Diagram v/s State Diagram <ul><li>The activity diagrams are mostly activity centric and they are typically used for modeling the sequence of activities in a process </li></ul><ul><li>transitions are implicitly triggered by completion of the actions in the source activities </li></ul><ul><li>Statecharts are state centric & statechart is better suited to model the discrete stages of an object’s lifetime </li></ul><ul><li>Transformation of state to state is dependent / or caused by a event, ie it is event dependent. </li></ul>An activity diagram is considered a special case of a state machine in which most of the states are activities and most of the transitions are implicitly triggered by completion of the actions in the source activities

×