[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-655613-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-655613-en":131,"doc-similar-655613":163},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","uml-activity-diagrams-state-machine-diagrams-and-modelling-lecture-2-introduction-and-notation","UML Activity Diagrams, State-Machine Diagrams and Modelling - Lecture 2 - Introduction and Notation","","Lecture #2 from the Department of Computer Science and Technology, University of Bedfordshire, written by David Goodwin based on C. Larman’s Applying UML and Patterns (3rd ed.). The material introduces UML activity diagrams and state-machine diagrams, explains why activity models represent control flow and object flow, and summarizes how to apply each notation. It covers common activity diagram elements such as actions, forks, joins, object nodes, initial/final nodes, and decision/merge, plus guidance for interpreting transitions and guards.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/uml-activity-diagrams-state-machine-diagrams-and-modelling-lecture-2-introduction-and-notation/655613/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/uml-activity-diagrams-state-machine-diagrams-and-modelling-lecture-2-introduction-and-notation/655613.png","ImageObject",300,407,{"name":42,"@type":43},"Oliver","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-12-01","2026-10-25",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",15,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What is an activity diagram used for in UML modelling?","Question",{"text":63,"@type":64},"An activity diagram models sequential and parallel activities in a process. It is useful for representing business processes, workflows, data flows, and complex algorithms.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How do actions, fork, and join nodes work in activity diagrams?",{"text":68,"@type":64},"An action represents a single step with automatic transition on completion. A fork splits one incoming flow into multiple concurrent flows, while a join synchronizes multiple incoming flows and continues only when all inputs arrive.",{"name":70,"@type":61,"acceptedAnswer":71},"What is the difference between merge and decision nodes?",{"text":72,"@type":64},"A merge node brings together multiple alternate flows by accepting one among several. A decision node routes tokens to multiple outgoing edges based on guard evaluation.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},655613,1793081181,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,115,120,123,127],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":112,"show_sort_weight":113,"slug":114},8,"Research & Report",30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":124,"doc_module":4,"doc_module_name":25,"category_name":125,"show_sort_weight":124,"slug":126},10,"Lifestyle","lifestyle",{"id":128,"doc_module":4,"doc_module_name":25,"category_name":129,"show_sort_weight":97,"slug":130},19,"General","general",{"code":4,"msg":82,"data":132},{"doc_id":79,"user_id":133,"nickname":42,"user_avatar":134,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":140,"language":141,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":12,"update_tm":145,"read_time":146,"preview_page_count":33,"preview_urls":147},8796095461610,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","UML Activity Diagrams, State-Machine Diagrams and Modelling  \nLecture \\# 2  \nDepartment of Computer Science and Technology University of Bedfordshire  \nWritten by David Goodwin, based on the book Applying UML and Patterns (3rd ed.)  \nby C. Larman (2005) .  \nModelling and Simulation, 2012  \nOutline  \nActivity Diagrams  \nIntroduction  \nActivity Diagrams-notation How to apply activity diagrams Guidelines  \nState-Machine Diagrams  \nIntroduction  \nState-Machine Diagrams-notation How to apply state-machine diagrams  \nFurther Examples  \nUML Activity Diagrams, State-Machine Diagrams and Modelling  \nActivity Diagrams  \nIntroduction  \nActivity Diagrams-notation  \nHow to apply activity diagrams  \nGuidelines  \nState-Machine Diagrams  \nIntroduction  \nState-Machine Diagramsnotation  \nHow to apply state-machine diagrams  \nFurther Examples  \nActivity Diagrams  \nWhat is an Activity Diagram➈  \nUML Activity Diagrams, State-Machine Diagrams and  \nI An Activity Diagram is on of the Behaviour diargams.  \nI Activity modelling is the sequence and conditions for coordinating lower-level behaviours, rather than which classi􀀌ers own those behaviours.  \nI These are commonly called control 􀀍ow and object 􀀍ow models.  \nI The behaviours coordinated by these models can be initiated because other behaviours 􀀌nish executing, because objects and data become available, or because events occur external to the 􀀍ow.  \nI A UML Activity Diagram shows sequential and parallel activities in a process.  \nI Useful for modelling: I Business processes  \nI Work􀀍ows  \nI Data 􀀍ows  \nI Complex algorithms      \nModelling  \nActivity Diagrams  \nIntroduction  \nActivity Diagrams-notation  \nHow to apply activity diagrams  \nGuidelines  \nState-Machine Diagrams  \nIntroduction  \nState-Machine Diagramsnotation  \nHow to apply state-machine diagrams  \nFurther Examples  \nBasic UML Activity Diagram notation  \nAction It does something. There is automatic transition on its completion. A transition (arrows between actions) supports modelling of control 􀀍ow.  \nFork One incoming transition, and multiple outgoing parallel transitions and/or object 􀀍ows.  \nJoin Multiple incoming transitions and/or object  \n􀀍ows; one outgoing transitions. The outgoing continuation does not happen until all the inputs arrive from all 􀀍ows.  \nObject Node An object produced or used by actions. This allows us to model data 􀀍ows or object 􀀍ows.  \nUML Activity Diagrams, State-Machine Diagrams and Modelling  \nActivity Diagrams  \nIntroduction  \nActivity Diagrams-notation  \nHow to apply activity diagrams  \nGuidelines  \nState-Machine Diagrams  \nIntroduction  \nState-Machine Diagramsnotation  \nHow to apply state-machine diagrams  \nFurther Examples  \nInitial and Final Nodes  \nI Initial Node:  \nI An initial node is a control node at which 􀀍ow starts  \nwhen the activity is invoked.  \nI An activity may have more than one initial node.  \nI Final Node:  \nI An activity may have more than one activity 􀀌nal node; the 􀀌rst one reached stops all 􀀍ows in the activity.  \nAction  \nI Action:  \nI An action represents a single step within an activity that  \nis not further decomposed within the activity.  \nI An activity represents a behaviour that is composed of individual elements that are actions.  \nI An action is simple from the point of view of the activity containing it, but may be complex in its e􀀋ect and not be atomic.  \nI An activity can be reused in many places, whereas an instance of an action is only used once at a particular point in an activity.  \nI An action will not begin execution until all of its input conditions are satis􀀌ed.  \nMerge and Decision Nodes  \nUML Activity Diagrams, State-Machine Diagrams and Modelling  \nI Merge Node:  \nI A merge node is a control node that brings together multiple alternate 􀀍ows.  \nI It is not used to synchronize concurrent 􀀍ows but to accept one among several alternate 􀀍ows.  \nI A merge node has multiple incoming edges and a single outgoing edge.  \nI Decision Node:  \nI A decision node accepts tokens","cbCaip1Rr4J02yAp","https://ap.wps.com/l/cbCaip1Rr4J02yAp","pdf",634393,33,"English","# Outline\n## Activity Diagrams\n### Introduction\n### Activity Diagrams-notation\n### How to apply activity diagrams\n### Guidelines\n## State-Machine Diagrams\n### Introduction\n### State-Machine Diagrams-notation\n### How to apply state-machine diagrams\n### Further Examples\n## Further Examples\n### Basic UML Activity Diagram notation\n## Activity Diagram Concepts\n### What is an Activity Diagram?\n### Initial and Final Nodes\n### Merge and Decision Nodes\n### Join and Fork Nodes\n### Object Node","[{\"question\":\"What is an activity diagram used for in UML modelling?\",\"answer\":\"An activity diagram models sequential and parallel activities in a process. It is useful for representing business processes, workflows, data flows, and complex algorithms.\"},{\"question\":\"How do actions, fork, and join nodes work in activity diagrams?\",\"answer\":\"An action represents a single step with automatic transition on completion. A fork splits one incoming flow into multiple concurrent flows, while a join synchronizes multiple incoming flows and continues only when all inputs arrive.\"},{\"question\":\"What is the difference between merge and decision nodes?\",\"answer\":\"A merge node brings together multiple alternate flows by accepting one among several. A decision node routes tokens to multiple outgoing edges based on guard evaluation.\"}]","UML Activity Diagrams, State-Machine Diagrams and Modelling - Lecture 2 - Introduction and Notation | PDF",1792962874,83,[148,152,155,159],{"page_no":22,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/d1caa1e6a582ba276c7f8244af71221a.webp",983,736,{"page_no":26,"url":153,"width":154,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/a27f004edc1375f3022ce944af5521c9.webp",982,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/49833d614b3ef8ed6710b92db841af65.webp",981,735,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/0995e51fdf5306f97ba44047b33b2b12.webp",980,734,{"list":164,"token":11},[165,171,177,182,189,195,201,207,214,220],{"doc_id":166,"doc_title":167,"file_type":138,"home_preview_img_url":168,"slug":169,"view_count":124,"category_name":29,"create_tm":170},655587,"Chapter 16 - UML Activity Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285692/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796179019&Signature=h2MAb7Z5pfe8mXpfPzPIetxgAFg%3D","chapter-16-uml-activity-diagrams",1792962750,{"doc_id":172,"doc_title":173,"file_type":138,"home_preview_img_url":174,"slug":175,"view_count":116,"category_name":29,"create_tm":176},655774,"Class Diagrams Lecture - 6","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975289187/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796179019&Signature=81yv1IcmUsJhhzbElQ368ehvF6I%3D","class-diagrams-lecture-6",1792963678,{"doc_id":178,"doc_title":179,"file_type":138,"home_preview_img_url":180,"slug":181,"view_count":124,"category_name":29,"create_tm":170},655586,"Activity Diagram - Handbook - Basic Concepts - 1","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285693/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796179019&Signature=rN%2BhulQ9fyX6w%2FGCspWvEZvWKHI%3D","activity-diagram-handbook-basic-concepts-1",{"doc_id":183,"doc_title":184,"file_type":138,"home_preview_img_url":185,"slug":186,"view_count":187,"category_name":29,"create_tm":188},655585,"Unit-5 - Activity Diagrams - 1 - Activity diagram overview and drawing guidance","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285680/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796179019&Signature=uZ%2FZWS4FSqnq8MupKtPS7tYjv50%3D","unit-5-activity-diagrams-1-activity-diagram-overview-and-drawing-guidance",18,1792962748,{"doc_id":190,"doc_title":191,"file_type":138,"home_preview_img_url":192,"slug":193,"view_count":116,"category_name":29,"create_tm":194},655604,"UML-ATM - Class Diagram, Use Case, Sequence, Communication, State, Activity","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974775471/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796179019&Signature=PsaPG9KukVu1ycOxhH4QPV%2Brj8Q%3D","uml-atm-class-diagram-use-case-sequence-communication-state-activity",1792962853,{"doc_id":196,"doc_title":197,"file_type":138,"home_preview_img_url":198,"slug":199,"view_count":116,"category_name":29,"create_tm":200},655594,"UML Activity Diagrams - Lecture 7","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285727/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796179019&Signature=d2E%2Be2rkphocycatXKNWNjcc%2FJA%3D","uml-activity-diagrams-lecture-7",1792962779,{"doc_id":202,"doc_title":203,"file_type":138,"home_preview_img_url":204,"slug":205,"view_count":102,"category_name":29,"create_tm":206},655559,"Concurrency in UML - Version 2.6 - A Guide for Representing Concurrent Execution","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285294/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796179019&Signature=E1VsYi12JH0x%2B84qc6Vpo5faVFM%3D","concurrency-in-uml-version-26-a-guide-for-representing-concurrent-execution",1792962632,{"doc_id":208,"doc_title":209,"file_type":138,"home_preview_img_url":210,"slug":211,"view_count":212,"category_name":29,"create_tm":213},655734,"Interaction Diagrams I - Lecture 4 - Modelling and Simulation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975288569/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796179019&Signature=JfS5Q1orQO7o3G0vFtyttBc5noI%3D","interaction-diagrams-i-lecture-4-modelling-and-simulation",11,1792963514,{"doc_id":215,"doc_title":216,"file_type":138,"home_preview_img_url":217,"slug":218,"view_count":111,"category_name":29,"create_tm":219},655548,"Unified Modeling Language - Enterprise Architect User Guide Series - Version 17.1","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975284950/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796179019&Signature=UXS%2FqMKze%2Fz9EF1uW4TMUYsgnOs%3D","unified-modeling-language-enterprise-architect-user-guide-series-version-171",1792962569,{"doc_id":221,"doc_title":222,"file_type":138,"home_preview_img_url":223,"slug":224,"view_count":124,"category_name":29,"create_tm":225},655852,"OOAD THROUGH UML LAB MANUAL","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975291950/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796179019&Signature=HZOx%2FXsBB%2B3pmHD%2Ft8Qn5EGdsCU%3D","ooad-through-uml-lab-manual",1792964312]