COURSES
MBAData Science & AnalyticsDoctorate Software & Tech AI | ML MarketingManagement
Professional Certificate Programme in HR Management and AnalyticsPost Graduate Certificate in Product ManagementExecutive Post Graduate Program in Healthcare ManagementExecutive PG Programme in Human Resource ManagementMBA in International Finance (integrated with ACCA, UK)Global Master Certificate in Integrated Supply Chain ManagementAdvanced General Management ProgramManagement EssentialsLeadership and Management in New Age BusinessProduct Management Online Certificate ProgramStrategic Human Resources Leadership Cornell Certificate ProgramHuman Resources Management Certificate Program for Indian ExecutivesGlobal Professional Certificate in Effective Leadership and ManagementCSM® Certification TrainingCSPO® Certification TrainingLeading SAFe® 5.1 Training (SAFe® Agilist Certification)SAFe® 5.1 POPM CertificationSAFe® 5.1 Scrum Master Certification (SSM)Implementing SAFe® 5.1 with SPC CertificationSAFe® 5 Release Train Engineer (RTE) CertificationPMP® Certification TrainingPRINCE2® Foundation and Practitioner Certification
Law
Job Linked
Bootcamps
Study Abroad
MS in Data AnalyticsMS in Project ManagementMS in Information TechnologyMasters Degree in Data Analytics and VisualizationMasters Degree in Artificial IntelligenceMBS in Entrepreneurship and MarketingMSc in Data AnalyticsMS in Data AnalyticsMS in Computer ScienceMaster of Science in Business AnalyticsMaster of Business Administration MS in Data ScienceMS in Information TechnologyMaster of Business AdministrationMS in Applied Data ScienceMaster of Business Administration | STEMMS in Data AnalyticsM.Sc. Data Science (60 ECTS)Master of Business AdministrationMS in Information Technology and Administrative Management MS in Computer Science Master of Business Administration Master of Business Administration-90 ECTSMSc International Business ManagementMS Data Science Master of Business Administration MSc Business Intelligence and Data ScienceMS Data Analytics MS in Management Information SystemsMSc International Business and ManagementMS Engineering ManagementMS in Machine Learning EngineeringMS in Engineering ManagementMSc Data EngineeringMSc Artificial Intelligence EngineeringMPS in InformaticsMPS in Applied Machine IntelligenceMS in Project ManagementMPS in AnalyticsMS in Project ManagementMS in Organizational LeadershipMPS in Analytics - NEU CanadaMBA with specializationMPS in Informatics - NEU Canada Master in Business AdministrationMS in Digital Marketing and MediaMSc Sustainable Tourism and Event ManagementMSc in Circular Economy and Sustainable InnovationMSc in Impact Finance and Fintech ManagementMS Computer ScienceMS in Applied StatisticsMaster in Computer Information SystemsMBA in Technology, Innovation and EntrepreneurshipMSc Data Science with Work PlacementMSc Global Business Management with Work Placement MBA with Work PlacementMS in Robotics and Autonomous SystemsMS in Civil EngineeringMS in Internet of ThingsMSc International Logistics and Supply Chain ManagementMBA- Business InformaticsMSc International ManagementMBA in Strategic Data Driven ManagementMSc Digital MarketingMBA Business and MarketingMaster of Business AdministrationMSc in Sustainable Global Supply Chain ManagementMSc Digital Business Analytics MSc in International HospitalityMSc Luxury and Innovation ManagementMaster of Business Administration-International Business ManagementMS in Computer EngineeringMS in Industrial and Systems EngineeringMSc International Business ManagementMaster in ManagementMSc MarketingMSc Business ManagementMSc Global Supply Chain ManagementMS in Information Systems and Technology with Business Intelligence and Analytics ConcentrationMSc Corporate FinanceMSc Data Analytics for BusinessMaster of Business AdministrationMaster of Business AdministrationMaster of Business AdministrationMSc in International FinanceMSc in International Management and Global LeadershipMaster of Business AdministrationBachelor of BusinessMaster of Business Administration 60 ECTSMaster of Business Administration 90 ECTSMaster of Business Administration 90 ECTSBachelor of Business AnalyticsBachelor of Information TechnologyMaster of Business AdministrationMBA Business AnalyticsMSc in Marketing Analytics and Data IntelligenceMS Biotechnology Management and EntrepreneurshipMSc in Luxury and Fashion ManagementMaster of Business Administration (90 ECTS)Bachelor of Business Administration (180 ECTS)B.Sc. Computer Science (180 ECTS) MSc in International Corporate Finance MSc in Sustainable Luxury and Creative IndustriesMSc Digital MarketingMSc Global Supply Chain Management (PGMP)MSc Marketing (PGMP)MSc Corporate Finance (PGMP)MSc Data Analytics for Business (PGMP)MS Business AnalyticsMaster of Business AdministrationMS Quantitative FinanceMS Fintech Management
For College Students

What is Fork and Join in Activity Diagram?

$$/$$

In the next video, you will be introduced to the concepts of fork and join.

$$/$$

Video Transcript

 

Next, as part of the activity diagram we'll be looking into Folk and Join. Folk is similar to your decision node where you will have one single inflow. But the difference here is in the decision node you will have of all possible options, only one definite outflow. Instead in the fork you will have all the outflows for sure and all these outflows happen concurrently. In other words, parallel in join, similar to the merge node you have multiple inflows, one outflow. The difference being from Join and merge. Although you have options for multiple inflows in merge at any point of time you are definite of getting only one inflow. While in, you are certain that all the inflows must happen for the outflow to happen. In Join, we literally wait for all the inflows to come in and complete for the outflow to happen that way. Join diverse from merge and fork differs from dish and node, the difference being in terms of concurrency. Let's see an example. In case of a supplier who receives an order, he checks if his product is available and based on his stock he decides to manufacture the product or not. Once the product is available, the product before it is shipped the supplier decides to do two things simultaneously. One is he would send the product to the inventory manager. At the same time he would also raise an invoice. Here the Send stock and rise invoice are happening simultaneously which is a fork. Now, similarly, in case of a join, once the supplier sends his stock and raises his invoice, the admin actually waits for getting the invoice and getting the stock. Once the stock is available in the inventory and the invoice is as well received only then the admin tries to view the invoice. This is the line of the stock being added to the inventory and the invoice being raised.

 

Video Recap

 

  • The segment discusses the concepts of Folk and Join in activity diagrams.

  • Folk is a node where all outflows happen concurrently, and there is one inflow.

  • Join is a node where all inflows must happen for the outflow to occur.

  • In Merge, although you have options for multiple inflows, you are certain of getting only one inflow at any point in time.

  • The difference between fork and decision nodes is in terms of concurrency.

  • Fork and Join nodes help in modeling concurrent behavior in activity diagrams.

  • The video provides an example of a supplier who receives an order, checks product availability, sends stock, and raises an invoice.

  • The process of sending stock and raising an invoice happens concurrently, which is a fork.

  • In the case of Join, the admin waits for both the invoice and stock to be received before viewing the invoice.

 

In the previous video, you learnt about fork and join. These are similar to decision nodes and merge nodes, respectively. Forks have one input flow and multiple output flows, while joins have multiple input flows and only one output flow. The difference is in the concurrency. You can represent fork and join in activity diagram as shown below.

 

 

 

$$/$$

Through the previous videos, you were introduced to the concepts of fork and join and how you can use them to design concurrent systems.