Hello everyone welcome to master2teach step-by-step guide in the previous
video you learn how to draw the activity diagram step by step I got a question
from one of the engineering student from the country Sri Lanka to draw the
activity diagram of the following use case scenario use case ID 004 use case
name get a PDF book primary actor registered member precondition should register into
the system post condition download the PDF book main scenario logging the
website system validate the login display the home page go to the
bookstore in the book name and search the book system display the book select
the book system display the payment method select the payment include the
payment details system generate the confirm given payment details confirm
the details download the book extensions are the alternatives are in
line number two if the login details are wrong the system display of massage
invalid user name or password in line number six if not found your search booked
the system generate of massage not found your item in line number eleven if the
payment details are wrong display the masses invalid payment details please
enter the correct details let's start we start the activity diagram with start
node the first step is to login into the website so process the activity name as
logging which is connected or followed by the control flow arrow users should
register to the system to login into the website which is the precondition so we
can add the decision where the user is register or not if not process for the
registration process which can be shown with the new activity register if
already register and after registration activity we can use a merge symbol to
merge the process flow in one and process to enter login details again
followed by the decision node for the login verification if do not match the
login details display an error message and so in the iteration process if login
success display homepage activity and then open bookstore now next process is
searching the book into book details and search the book another condition similar
to the above case if not found display not found message and so in the iteration
process
if found display payment option
now moving forward the user can select the payment method and enter payment
details which we can show in Fork node again using the join node follow with an
another decision nodes for the validation of payment details if invalid details
display an invalid error message and make it iterative as well if payment
success display confirmation activity then download the book and after
download the book the activity ends is shown with the end node this activity
diagram is without partition which we can draw with partition as well I hope
you learn how to draw the activity diagram and how to use its different
nodes as per the use case from this video tutorial if you have any
questions or comments please make sure to leave a comments in the comment
section below also please be sure to like this video and subscribe to my
channel if you haven't already thank you so much for watching
check us out for more in IT tutorial and guide on website master2teach.com
and we will see you again soon bye