[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-655568-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-655568-en":130,"doc-similar-655568":162},{"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","use-case-uc1-process-sale","Use Case UC1 - Process Sale","","Explains use case modeling for capturing a system’s functional requirements, including how requirements analysis can be expressed as written use cases rather than object-oriented artifacts. Defines key concepts: actors with behaviors, scenarios/use case instances, and how a use case aggregates success and failure scenarios to achieve goals. Provides a detailed example for UC1 Process Sale, listing actors, stakeholder interests, preconditions, postconditions, the main success scenario steps, and extension/alternative flows such as invalid identifiers, item removal, and sale cancellation. Also introduces use case diagrams in UML, actor roles, and four relationship types: association, generalization, include, and extend.",{"@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/use-case-uc1-process-sale/655568/",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/use-case-uc1-process-sale/655568.png","ImageObject",300,407,{"name":42,"@type":43},"Boyslovefans","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-26","2026-10-25",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",8,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What is a use case and what does it describe?","Question",{"text":63,"@type":64},"A use case is a collection of related success and failure scenarios that describe actors using a system to support a goal.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What are actors in a use case diagram?",{"text":68,"@type":64},"Actors represent entities with behavior, such as a person, a user role, an organization, or even external software systems.",{"name":70,"@type":61,"acceptedAnswer":71},"How do include and extend relationships differ in UML use case relationships?",{"text":72,"@type":64},"The document states that use cases can participate in four relationship types—association, generalization, include, and extend—each with its own purpose and notation.","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},655568,1793073054,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,114,119,122,126],{"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":55,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":145,"preview_page_count":33,"preview_urls":146},1374410101428,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","USE CASE DIAGRAMS  \nUSE CASES  \n• Use cases are a technique for capturing the functional requirements of a system.  \n• Requirements analysis may include a description of related domain processes; these can be written as use cases .  \n• Use cases are not an object oriented artifact—they are simply written stories.  \n• Example use case:  \n– Play a Dice Game: A player picks up and rolls the dice. If the dice face value total seven, they win; otherwise, they lose.  \nUSE CASES  \n• An actor is something with behavior, such as a person (identified by role), computer system, or organization; for example, a cashier.  \n• A scenario is a specific sequence of actions and interactions between actors and the system under discussion; it is also called a use case instance.  \n– It is one particular story of using a system, or one path through the use case;  \n– for example, the scenario of successfully purchasing items with cash, or the scenario of failing to purchase items because of a credit card transaction denial  \n• A use case is a collection of related success and failure scenarios that describe actors using a system to support a goal.  \nExample Use Case  \n• Use Case UC1: Process Sale  \n• Primary Actor: Cashier  \n• Stakeholders and Interests:  \nCashier: Wants accurate, fast entry, and no payment errors, as cash drawer shortages are deducted from his/her salary.  \nSalesperson: Wants sales commissions updated.  \nCustomer: Wants purchase and fast service with minimal effort. Wants proof of purchase to support returns.  \nCompany: Wants to accurately record transactions and satisfy customer interests. Wants to ensure that Payment Authorization Service payment receivables are recorded. Wants some fault tolerance to allow sales capture even if server components (e.g. , remote credit validation) are unavailable. Wants automatic and fast update of accounting and inventory.  \nGovernment Tax Agencies: Want to collect tax from every sale. May be multiple agencies, such as national, state, and county.  \nPayment Authorization Service: Wants to receive digital authorization requests in the correct format and protocol. Wants to accurately account for their payables to the store.  \n• Preconditions: Cashier is identified and authenticated.  \n• Success Guarantee (Postconditions): Sale is saved. Tax is correctly calculated. Accounting and Inventory are updated. Commissions recorded. Receipt is generated. Payment authorization approvals are recorded.  \nExample Use Case  \n• Main Success Scenario (or Basic Flow):  \n1. Customer arrives at POS checkout with goods and/or services to purchase.  \n2. Cashier starts a new sale.  \n3. Cashier enters item identifier.  \n4. System records sale line item and presents item description, price, and running total. Price calculated from a set of price rules. Cashier repeats steps 3 4 until indicates done.  \n5. System presents total with taxes calculated.  \n6. Cashier tells Customer the total, and asks for payment.  \n7. Customer pays and System handles payment.  \n8. System logs completed sale and sends sale and payment information to the external Accounting system (for accounting and commissions) and Inventory system (to update inventory) .  \n9. System presents receipt.  \n10.Customer leaves with receipt and goods (if any) .  \nExample Use Case  \n• Extensions (or Alternative Flows):  \nAt any time, System fails:  \n3a. Invalid identifier:  \n1. System signals error and rejects entry.  \n3 6a: Customer asks Cashier to remove an item from the purchase:  \n1. Cashier enters item identifier for removal from sale.  \n2. System displays updated running total.  \n3 6b. Customer tells Cashier to cancel sale:  \n1. Cashier cancels sale on System.  \nUse Case Diagrams  \n• Use cases are text documents, not diagrams, and use case modeling is primarily an act of writing text, not drawing.  \n• However, the UML defines a use case diagram to illustrate the names of use cases and actors, and their relationships  \nACTORS  \n• Users of a software system are re","cbCaib6ZzUoWsnGG","https://ap.wps.com/l/cbCaib6ZzUoWsnGG","pdf",511481,17,"English","# Use Case Basics\n## Actors and Scenarios\n## Structure of a Use Case\n# Example Use Case: UC1 Process Sale\n## Preconditions and Postconditions\n## Main Success Scenario\n## Extensions and Alternative Flows\n# Use Case Diagrams and Relationships\n## What Use Case Diagrams Represent\n## Actor Representation\n## Relationship Types","[{\"question\":\"What is a use case and what does it describe?\",\"answer\":\"A use case is a collection of related success and failure scenarios that describe actors using a system to support a goal.\"},{\"question\":\"What are actors in a use case diagram?\",\"answer\":\"Actors represent entities with behavior, such as a person, a user role, an organization, or even external software systems.\"},{\"question\":\"How do include and extend relationships differ in UML use case relationships?\",\"answer\":\"The document states that use cases can participate in four relationship types—association, generalization, include, and extend—each with its own purpose and notation.\"}]","Use Case UC1 - Process Sale | PDF",1792962665,43,[147,151,154,158],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/b09d32ccd765d97fc5b2bdf153146d1c.webp",983,736,{"page_no":26,"url":152,"width":153,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/6c6390a34b5f8b9c587c1580a63576f8.webp",982,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/cbd0960ad562df5dcb43301857dfe1eb.webp",981,735,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/4ed9ff8fc5cb8e18cde88edab065cda5.webp",980,734,{"list":163,"token":11},[164,171,177,184,190,196,202,208,214,220],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":29,"create_tm":170},655907,"Use Case - What It Is","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974779867/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796127419&Signature=WQJktuYUYoR5%2FTa%2BHQah6kEWD3s%3D","use-case-what-it-is",15,1792964718,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":106,"category_name":29,"create_tm":176},665504,"LAB 2 - Introduction to Use Case Modeling","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229983859393/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796127419&Signature=Are8wWz3vlYE3Pjf8VtPiA4DS7Q%3D","lab-2-introduction-to-use-case-modeling",1793304523,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":182,"category_name":29,"create_tm":183},655910,"Use Case Diagram Tutorial - Guide with Examples","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975293539/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796127419&Signature=CDQcQRu35ymJIVPBQphWidAR9%2FI%3D","use-case-diagram-tutorial-guide-with-examples",11,1792964726,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":115,"category_name":29,"create_tm":189},655912,"Getting Started With Use Case Modeling - May 2007 - Oracle White Paper","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975293531/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796127419&Signature=3L28Ztb2BQPLJQzL9Y%2FOhi1hgnI%3D","getting-started-with-use-case-modeling-may-2007-oracle-white-paper",1792964728,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":55,"category_name":29,"create_tm":195},655595,"UML Use Case and Activity Diagrams - Activity and use case diagram guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285921/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796127419&Signature=usDGvSEFuWKnN63a15AYbiQVGmc%3D","uml-use-case-and-activity-diagrams-activity-and-use-case-diagram-guide",1792962799,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":55,"category_name":29,"create_tm":201},655921,"Lecture 3 - EH2750 Power Systems Advanced Course - Smartgrids Use Case Methodology & UML","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975294147/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796127419&Signature=FEQI41sJNStQDkQY0lzHBfyIjLI%3D","lecture-3-eh2750-power-systems-advanced-course-smartgrids-use-case-methodology-uml",1792964856,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":123,"category_name":29,"create_tm":207},655939,"UML in Practice - The Art of Modeling Software Systems Demonstrated through Worked Examples and Solutions - Chapter 1 - Aims of the chapter","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974780609/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796127419&Signature=g18NXgaGGMHG0r%2B9kmNFkUCUjzg%3D","uml-in-practice-the-art-of-modeling-software-systems-demonstrated-through-worked-examples-and-solutions-chapter-1-aims-of-the-chapter",1792965014,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":102,"category_name":29,"create_tm":213},655905,"UML 2 Tutorial - Use Case Diagram","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975293530/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796127419&Signature=2NVxYDPSLJ7PF73L2JKjxRrNtos%3D","uml-2-tutorial-use-case-diagram",1792964717,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":115,"category_name":29,"create_tm":219},655667,"Architecture & High Level Design (HLD)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975287057/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796127419&Signature=qkVUAptzRc6RsWcyNSu7S1UFsP0%3D","architecture-high-level-design-hld",1792963118,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":102,"category_name":29,"create_tm":225},665499,"Use Case-based Requirements","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229983495724/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796127419&Signature=pYhsO0v0CFWqUyrecqF%2Fwd4Ecqw%3D","use-case-based-requirements",1793304512]