[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-655641-105":3,"detail-sidebar-cat-0-en-105":84,"doc-detail-655641-en":134},{"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":77,"head_meta":79,"extra_data":81,"updated_unix":83},105,"en","activity-diagram-uml-models-definitions-and-types","Activity Diagram - UML Models - Definitions and Types","","UML activity diagrams are presented as dynamic models that describe the flow from activity to activity and action to action, including how control moves within a state machine. The document distinguishes activity states and action states, then explains transitions with triggerless rules and common transition categories such as branching and fork/join synchronization. It further compares activity diagrams with interaction diagrams, clarifying how activities and operations relate to messages among objects. It also outlines key diagram elements like conventions, vertices/arcs, lozenge shapes, and swimlanes, plus common uses for modeling workflows and operations.",{"@graph":14,"@context":76},[15,34,55],{"@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/activity-diagram-uml-models-definitions-and-types/655641/",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/activity-diagram-uml-models-definitions-and-types/655641.png","ImageObject",300,407,{"name":42,"@type":43},"Angel","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-10-31","2026-10-25",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68,72],{"name":59,"@type":60,"acceptedAnswer":61},"What is an activity diagram in UML and what does it model?","Question",{"text":62,"@type":63},"An activity diagram is a dynamic model showing the flow from activity to activity and action to action. It captures execution flow within a state machine, including how actions lead to subsequent activities or states.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"How do activity states and action states differ?",{"text":67,"@type":63},"An activity state represents execution of a series of actions and can be decomposed or interrupted, with duration. An action state represents execution of an atomic computation, cannot be decomposed or interrupted, and has insignificant execution time.",{"name":69,"@type":60,"acceptedAnswer":70},"What does a transition mean in an activity diagram, and what are common transition types?",{"text":71,"@type":63},"A transition occurs when an action completes and control passes immediately to the next action or activity state. Common types include branching (alternate paths via boolean expressions) and fork/join (concurrent paths with synchronization).",{"name":73,"@type":60,"acceptedAnswer":74},"How is an activity diagram different from an interaction diagram?",{"text":75,"@type":63},"An activity diagram models flow of control from activity to activity and action to action, focusing on passed operations. An interaction diagram models flow of control from object to object, focusing on objects that pass messages.","https://schema.org",{"og:url":32,"og:type":78,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":80,"canonical":32},"index,follow",{"doc_id":82,"site_id":7},655641,1792962986,{"code":4,"msg":85,"data":86},"success",[87,91,95,99,104,108,113,118,123,126,130],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":96,"show_sort_weight":97,"slug":98},"Exam",70,"exam",{"id":100,"doc_module":4,"doc_module_name":25,"category_name":101,"show_sort_weight":102,"slug":103},5,"Comic",60,"comic",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":106,"slug":107},6,50,"technology",{"id":109,"doc_module":4,"doc_module_name":25,"category_name":110,"show_sort_weight":111,"slug":112},7,"Healthcare",40,"healthcare",{"id":114,"doc_module":4,"doc_module_name":25,"category_name":115,"show_sort_weight":116,"slug":117},8,"Research & Report",30,"research-report",{"id":119,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":121,"slug":122},9,"Religion & Spirituality",20,"religion-spirituality",{"id":121,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":121,"slug":125},"World Cup","world-cup",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":127,"slug":129},10,"Lifestyle","lifestyle",{"id":131,"doc_module":4,"doc_module_name":25,"category_name":132,"show_sort_weight":100,"slug":133},19,"General","general",{"code":4,"msg":85,"data":135},{"doc_id":82,"user_id":136,"nickname":42,"user_avatar":137,"doc_module":4,"category_id":105,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":138,"file_id":139,"file_url":140,"file_type":141,"file_size":142,"view_count":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":100,"language":143,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":144,"faqs":145,"seo_title":146,"seo_description":12,"update_tm":83,"read_time":147},687207412472,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","|  |  | UML Diagram Types |  |\n| --- | --- | --- | --- |\n|  |  | Dynamic Models\u003Cbr>n activity diagrams\u003Cbr>n statechart diagrams n interaction diagrams\u003Cbr>– sequence diagrams\u003Cbr>– collaboration diagrams\u003Cbr>n use case diagrams | Structural Models n class diagrams n object diagrams\u003Cbr>n packages Architectural Models n component diagrams n deployment diagrams |\n|  |  |  |  |\n\n|  | | Activity Diagram\u003Cbr>def’n: dynamic model showing the flow from activity to activity (and action to action)\u003Cbr>activity: ongoing non-atomic execution within a state machine\u003Cbr>action: executable atomic computation that results in a change in state of a system or the return of a value\u003Cbr>– call operation, send signal, create/destroy object, pure computation |\n| --- | --- | --- |\n|  |  |  |\n\n|  | | Activity Diagram vs. Interaction Diagram\u003Cbr>n Activity diagram\u003Cbr>– models flow of control from activity to activity (and action to action)\u003Cbr>– interaction diagram turned inside out\u003Cbr>– looks at operations that are passed among objects\u003Cbr>n Interaction diagram\u003Cbr>– models flow of control from object to object\u003Cbr>– looks at objects that pass messages |\n| --- | --- | --- |\n|  |  |  |\n\n|  |  |  | Activity Diagram\u003Cbr>n captures the critical path of the workflown kind of state machine\u003Cbr>Convention\u003Cbr>– modeled as vertices and arcs\u003Cbr>– text may be structured text, or specific syntax of programming language\u003Cbr>– may contain simple, composite states, forks, branches, joins |\n| --- | --- | --- | --- |\n|  |  |  |  |\n\n|  | | Contents of Activity Diagram\u003Cbr>n Activity State\u003Cbr>def’n: system state representing execution of (a series of) actions\u003Cbr>– can be decomposed\u003Cbr>– can be interrupted\u003Cbr>– has duration\u003Cbr>– may have entry and exit action\u003Cbr>– Convention: lozenge shape |\n| --- | --- | --- |\n|  |  |  |\n\n|  | | Contents of Activity Diagram\u003Cbr>n Action State\u003Cbr>def’n: system state representing execution of an action (atomic computation)\u003Cbr>– cannot be decomposed\u003Cbr>– cannot be interrupted\u003Cbr>– execution time is insignificant\u003Cbr>– special case of activity state (cannot be further decomposed)\u003Cbr>– Convention: lozenge shape |\n| --- | --- | --- |\n|  |  |  |\n\n|  | | Contents of Activity Diagram\u003Cbr>n Transition\u003Cbr>def’n: when action completes, flow of control passes immediately to next action or activity state\u003Cbr>– triggerless: transition occurs once work in source state is complete, if guard is true\u003Cbr>– Convention: simple directed line\u003Cbr>– Types include: branching, fork/join, swimlanes |\n| --- | --- | --- |\n|  |  |  |\n\n|  |  | Transition Types\u003Cbr>Branching\u003Cbr>def’n: specification of alternate paths taken based upon some Boolean expression\u003Cbr>n one incoming and two or more outgoing branches n Boolean expression on each outgoing transition that\u003Cbr>is evaluated once (when entering branch) n can use “else”\u003Cbr>n can be used to indicate iteration\u003Cbr>n structured text, or specific programming language |\n| --- | --- | --- |\n|  |  |  |\n\n|  |  | Transition Types\u003Cbr>Fork/Join\u003Cbr>def’n: specification of concurrent paths n synchronization bar to indicate n convention: thick horizontal or vertical line\u003Cbr>n fork: splitting of single flow of control into two or more concurrent flows of control\u003Cbr>n join: synchronization of two or more concurrent flows of control\u003Cbr>n joins and forks should balance\u003Cbr>n parallel flows may communicate via signals (coroutines) |\n| --- | --- | --- |\n|  |  |  |\n\n| | Transition Types\u003Cbr>Swimlanes\u003Cbr>def’n: specific, named locus of activities n no deep semantics\u003Cbr>n may represent some real-world entity n every activity belongs to one swimlane, but transitions may cross lanes |\n| --- | --- |\n| |  |\n\n\n|  | | Contents of Activity Diagram\u003Cbr>n Object\u003Cbr>– can specify objects that are created, destroyed, or modified as part of the flow of control\u003Cbr>– can show how its role, state, and attribute values change |\n| --- | --- | --- |\n|  |  |  |\n\n| | Common Uses of Activity Diagrams\u003Cbr>n Model a workflow: focus on activities as viewed by the actors that collaborate wi","cbCaikiXG3JDHVdM","https://ap.wps.com/l/cbCaikiXG3JDHVdM","pdf",32266,"English","# UML Diagram Types\n## Dynamic Models\n## Structural and Architectural Models\n# Activity Diagram\n## Activity Diagram vs. Interaction Diagram\n# Contents of Activity Diagram\n## Activity State and Action State\n## Transition\n## Transition Types (Branching, Fork/Join, Swimlanes)\n# Common Uses of Activity Diagrams\n## Model a Workflow\n## Model an Operation\n## Methods of Modeling an Operation","[{\"question\":\"What is an activity diagram in UML and what does it model?\",\"answer\":\"An activity diagram is a dynamic model showing the flow from activity to activity and action to action. It captures execution flow within a state machine, including how actions lead to subsequent activities or states.\"},{\"question\":\"How do activity states and action states differ?\",\"answer\":\"An activity state represents execution of a series of actions and can be decomposed or interrupted, with duration. An action state represents execution of an atomic computation, cannot be decomposed or interrupted, and has insignificant execution time.\"},{\"question\":\"What does a transition mean in an activity diagram, and what are common transition types?\",\"answer\":\"A transition occurs when an action completes and control passes immediately to the next action or activity state. Common types include branching (alternate paths via boolean expressions) and fork/join (concurrent paths with synchronization).\"},{\"question\":\"How is an activity diagram different from an interaction diagram?\",\"answer\":\"An activity diagram models flow of control from activity to activity and action to action, focusing on passed operations. An interaction diagram models flow of control from object to object, focusing on objects that pass messages.\"}]","Activity Diagram - UML Models - Definitions and Types | PDF",13]