Our Support: During the COVID-19 outbreak, we request learners to CALL US for Special Discounts!

- Business Analyst Blogs -

The Ultimate Revelation Of Activity Diagram In UML



Introduction

The way UML is expanding and has so many diagrams features inbuilt, it helps to resolve various kinds of complexity and has been successful for the execution of projects. One such diagram is the activity diagram. 

Action diagrams portray the real work process conduct of a framework in Information Technology. As a business analyst, it helps to picture any use case in the form of activity and sense the practical implications. Thus smoothing the path to explain it to the development team. These outlines are fundamentally the same as state Diagrams since exercises are the real condition of accomplishing something. 

UML demonstrates language incorporated that these outlines are ordinarily effectively intelligible for both analysts and respective stakeholders. They are quite simple also to depict as they have a directional flow which is in sync with the project use case, as thus it is easily understandable. 

What do you understand by activity diagrams?

If I need to present a simple definition of this, I would say an advanced flowchart that showcases the flow of one activity to another, can be termed as an activity diagram. 

The control stream is attracted starting with one activity then onto the next. This stream can be successive, extended, or simultaneous. Movement outlines manage all kinds of stream control by utilizing various components, for example, fork, join, and so forth. 

An action chart is utilized to demonstrate a huge action's successive workstream by concentrating on activity arrangements and individual activity starting conditions. The condition of a movement identifies with the exhibition of every work process step.

The below use-cases can be said to be a few examples for activity diagrams - 

  • Customer Order and Purchase Order
  • Online Shopping 
  • Booking a Ticket (Airlines, Movie, Trains, etc)
  • Login of a user to a website

Learn Business Analyst in the Easiest Way

  • Learn from the videos
  • Learn anytime anywhere
  • Pocket-friendly mode of learning
  • Complimentary eBook available

What is the purpose of the activity diagram in UML?

The fundamental reasons for activity diagrams in UML  are like the other four outlines. It catches the dynamic conduct of the framework. The other four diagrams are utilized to show the message stream starting with one item then onto the next however activity diagram is utilized to show the message stream starting with one action then onto the next. 

So think, what would you refer to this - Isn’t it similar to a specific operation of a system? That’s how these activity diagrams are so dynamic in nature that they are not just utilized for envisioning the dynamic idea of a framework, however, they are additionally used to build the executable framework by utilizing forward and figuring out methods. 

In spite of the fact that the outlines resemble a flowchart, they are most certainly not. It shows various streams, for example, equal, spread, simultaneous, and single. 

To simplify the purpose it can be stated as - 

  • Draw the action stream of a framework. 
  • Portray the succession starting with one action then onto the next. 
  • Portray the equal, stretched and simultaneous progression of the framework.

What are the components of the Activity Diagram in UML?

After a brief understanding of this it is clear that the flow which happens, is certainly bounded by multiple pieces, and to be more precise we can call them as components.

components of the Activity Diagram in UML

Activities 

The process which gets segregated into small or singular activities. Exercises are a system of hubs associated with edges. There can be activity hubs, control hubs, or article hubs. Activity hubs speak to some activity. Control hubs speak to the control stream of an action. Article hubs are utilized to portray objects utilized inside an action. Edges are utilized to show a way or a progression of execution. Exercises start at an underlying hub and end at the last hub. 

Activity Partition 

The flow where lots of activities are gathered and compiled together to form a group forms the partition for various other flows.   A solitary parcel can allude to numerous things, for example, classes, use cases, parts, or interfaces. 

Fork and Join Nodes 

Utilizing a fork and join hubs, simultaneous streams inside a movement can be created. A fork hub makes them approach edges and various active edges. It is like one such a large number of choice parameters. At the point when information shows up at an approaching edge, it is copied and pasted over various active edges all the while. A solitary approaching stream is separated into numerous equal streams.

Pins

Pins are accustomed to clearing up the things. It gives an approach to deal with the execution stream of action by arranging all the streams and tidying up chaotic diminishes. It is an article hub that speaks to one contribution to or a yield from an activity. Both info and yield pins have unequivocally one edge.

Business Analyst Training & Certification

  • Detailed Coverage
  • Best-in-class Content
  • Prepared by Industry leaders
  • Latest Technology Covered

How to draw activity diagrams in UML?

After speaking so much over this topic, you might be having a thought: how do we practically implement it?

How can we draw these activity diagrams?

Well, I will tell you how we should draw them and going forward we will also see certain activity diagrams examples. 

To begin with, I would suggest a basic knowledge of the flowchart is recommended. That would help you and ease out the process and understanding to draw these diagrams. 

To draw these, one must comprehend and investigate the whole framework. All the components and elements that will be utilized inside the flow must be known by the person who is drawing and who would be benefited by it. The focal idea which is only an action must be obvious to the client. In the wake of breaking down all exercises, these exercises ought to be investigated to discover different imperatives that are applied to exercises. In the event that there is such an imperative, at that point it ought to be noted before building up a movement chart. 

All the exercises, conditions, and affiliations must be known. When all the fundamental things are assembled, at that point a dynamic or a model is produced, which is later changed over into the genuine chart.

Parts of Activity Diagrams - 

 How to draw activity diagrams in UML

What could be some examples for activity diagrams?

So as I told you that we can easily draw activity diagrams if we have a clear conceptual background. So Let’s understand some activity diagrams examples

  1. Example for Activity Diagram of Online Shopping 

This use case should be simple to understand as all of us are so much use to it. Let’s check it out - 

examples for activity diagrams

  1. Let’s take a simple example for the activity diagram where you need to judge whether the message is worthful or junk - 

examples for activity diagrams 2

When should we use Activity Diagrams?

As there are various behavioral and conducting methodologies available, these diagrams have some transparent qualities as well as some shortcomings, which make them perfect sources for different and hybrid systems. 

The incredible quality of movement charts lies in the way that they bolster and support equal conduct. This makes them an extraordinary instrument for the work process demonstrating and, on a fundamental level, for multithreaded programming. Their extraordinary weakness is that they don't make the connections among activities and items clear. 

From the above conversation, obviously an activity diagram is drawn from an extremely significant level. So it gives significant level perspective on a framework. This significant level view is mostly for business clients or whatever other individual who is certifiably not a specialized individual. 

This graph is utilized to show the exercises which are only business necessities. 

Key Uses of this diagram can be - 

  • Model the work process in a graphical manner, which is effectively justifiable. 
  • Model the execution stream between different elements of a framework. 
  • Model the nitty gritty data about any capacity or a calculation which is utilized inside the framework. 
  • Model business forms and their work processes. 
  • Catch the dynamic conduct of a framework. 
  • Produce elevated level flowcharts to speak to the work process of any application. 
  • Model elevated level perspective on an article arranged or a dispersed framework.
  • Deep analysis of any use case or user stories. 
  • It helps to describe the linear algorithm.

Another Important Concept in UML - Activity Network Diagrams

One more vital concept which lies in is activity network diagrams, which play a key role in project management and give directional guidance to the project understanding. 

They can be said to be quality management tools, which either runs in parallel or runs in series. 

It graphically shows reliant connections between gatherings, steps, and undertakings as they all affect a task. Air pockets, boxes, and bolts are utilized to delineate these exercises and the connections between them. This is otherwise called a stream outline, venture system, or procedure map.

When this flow chart works in parallel or series fashion, they help to resolve some of these activity types - 

  • Distinguish censorious Tasks 
  • Distinguish bottlenecks 
  • Distinguish routines. 
  • Figure out which exercises need to be done 
  • Decide when these activities have to be done

Action Network Diagrams began as a designing and development venture of the executives apparatus. Basic Path Analysis attracts this philosophy to distinguish and institutionalize clinical administration exercises. An Activity Network Diagram assists with discovering the most effective grouping of occasions expected to finish any extent.

Business Analyst Training & Certification

  • No cost for a Demo Class
  • Industry Expert as your Trainer
  • Available as per your schedule
  • Customer Support Available

Conclusion

These diagrams, mostly referred to as activity diagrams are also referred to as object-oriented flow-charts because of the nature of the work they support. They help to break down use cases into smaller chunks of actions which not only ease the understanding but also fastens the execution of the project. Hence whenever working on any UML, try to utilize the concept of activity diagrams in UML, and see what changes it can bring to the analysis. I hope this would have been a great learning experience for you all. Happy Learning Learners!!


    Nidhi

    I believe in knowledge sharing and bringing change in people's lives. As a business analyst by profession, I love to explore everything about the way businesses should drive. I keep in touch with the latest business analysis updates.


Comments

Trending Courses

AWS

  • AWS & Fundamentals of Linux
  • Amazon Simple Storage Service
  • Elastic Compute Cloud
  • Databases Overview & Amazon Route 53

Upcoming Class

1 day 14 Jul 2020

DevOps

  • Intro to DevOps
  • GIT and Maven
  • Jenkins & Ansible
  • Docker and Cloud Computing

Upcoming Class

18 days 31 Jul 2020

Data Science

  • Data Science Introduction
  • Hadoop and Spark Overview
  • Python & Intro to R Programming
  • Machine Learning

Upcoming Class

3 days 16 Jul 2020

Hadoop

  • Architecture, HDFS & MapReduce
  • Unix Shell & Apache Pig Installation
  • HIVE Installation & User-Defined Functions
  • SQOOP & Hbase Installation

Upcoming Class

4 days 17 Jul 2020

Salesforce

  • Salesforce Configuration Introduction
  • Security & Automation Process
  • Sales & Service Cloud
  • Apex Programming, SOQL & SOSL

Upcoming Class

2 days 15 Jul 2020

QA

  • Introduction and Software Testing
  • Software Test Life Cycle
  • Automation Testing and API Testing
  • Selenium framework development using Testing

Upcoming Class

11 days 24 Jul 2020

Business Analyst

  • BA & Stakeholders Overview
  • BPMN, Requirement Elicitation
  • BA Tools & Design Documents
  • Enterprise Analysis, Agile & Scrum

Upcoming Class

1 day 14 Jul 2020

MS SQL Server

  • Introduction & Database Query
  • Programming, Indexes & System Functions
  • SSIS Package Development Procedures
  • SSRS Report Design

Upcoming Class

2 days 15 Jul 2020

Python

  • Features of Python
  • Python Editors and IDEs
  • Data types and Variables
  • Python File Operation

Upcoming Class

10 days 23 Jul 2020

Artificial Intelligence

  • Components of AI
  • Categories of Machine Learning
  • Recurrent Neural Networks
  • Recurrent Neural Networks

Upcoming Class

1 day 14 Jul 2020

Machine Learning

  • Introduction to Machine Learning & Python
  • Machine Learning: Supervised Learning
  • Machine Learning: Unsupervised Learning

Upcoming Class

4 days 17 Jul 2020

Tableau

  • Introduction to Tableau Desktop
  • Data Transformation Methods
  • Configuring tableau server
  • Integration with R & Hadoop

Upcoming Class

0 day 13 Jul 2020

Search Posts

Reset

Receive Latest Materials and Offers on Business Analyst Course

Interviews