The above activity diagram is for adding a new product by the admin. The admin will login to the system. He will add the details of the product in the form. The system will check for the duplicate entries. If found then the already present product’s quantity will be updated otherwise the new product will be added in the system.