Mastering Business Analysis & Jira for Modern TeamsLesson 12 of 32
Lesson 12 of 32

Use Case Authoring: Actors, Preconditions, Main Flow & Exception Flows

Overview & Learning Objectives

A Use Case documents the step-by-step contractual dialogue between an Actor (human user or external system) and the System to achieve a specific business goal. While Agile user stories are concise and focused on sprint delivery, formal Use Cases capture the entire end-to-end scenario, including preconditions, triggers, main success flows, branching alternate paths, and critical system exception recovery.

  • Master the 7 components of a formal Use Case: Title, Actor(s), Preconditions, Trigger, Main Success Scenario, Alternate Flows, and Exception Flows.
  • Differentiate Primary Actors (who initiates), Secondary Actors (who provides service), and Off-stage Stakeholders.
  • Draft bulletproof Alternate and Exception Flows that ensure robust system resilience.
Example

Real-World Example: Borrowing a Book from the School Library Recipe

PRACTICAL CONTEXT
  • Scenario: Step-by-step recipe for borrowing a library book from the school checkout desk.
  • Structure: Primary Actor, Preconditions (valid library card), Main Happy Path, and Alternate/Exception Flows.
  • Analyst Value: Maps all edge cases (e.g. expired account, lost book) so software handles errors gracefully.
Corporate / Tech Term Classroom / Everyday Metaphor What It Actually Means
Primary Actor The Student holding the book The human who starts the story to reach a goal.
Preconditions You must have your library card in your pocket Checklist that must be true BEFORE you can start.
Main Success Flow Everything goes smoothly and you get the book in 30 seconds The happy path where no errors happen.
Exception Flow You owe $5 in overdue fines from last month The detour route when an error blocks the happy path.
Core Principle: Always map out the rainy day paths! 80% of software bugs happen when things don’t go according to the sunny day plan.
Process

Visual Infographic: The Cockburn Use Case Flowchart

USE CASE INFOGRAPHIC
Stage 1
Precondition Check

Is user logged in? Is phone number verified?

Stage 2
Happy Path (Sunny Day)

Step 1 Step 2 Step 3 Goal Achieved!

Stage 3
Exception Path (Rainy Day)

Wrong password? Account locked? Retry logic engaged.

Industry Standard & Framework

Standard: Alistair Cockburn Use Case Standard: A use case captures a contract between the stakeholders of a system about its behavior under various conditions as it responds to a request by one of the stakeholders.

Real-World Business Application: Zepto Instant Refund Claim Use Case Specification

Formal documentation of the customer refund workflow for ice cream melted during 10-minute quick-commerce delivery.

Use Case SectionSpecification Detail
Use Case ID & TitleUC-REF-01: Submit Instant Grocery Spoil Refund Claim
Primary ActorCustomer (Mobile App User)
Secondary ActorsThird-Party UPI Payment Gateway, AWS Rekognition Photo Inspection API
Preconditions1. Customer is authenticated.\n2. Order status is marked 'DELIVERED' in database.\n3. Elapsed time since delivery is <= 120 minutes.
TriggerCustomer taps "Report Item Damaged / Melted" on delivered order detail screen.
Postconditions (Success)1. Refund amount credited to customer account.\n2. Inventory shrinkage ledger updated.\n3. Notification SMS dispatched.
Main Success Flow1. System presents list of delivered items.\n2. User selects damaged item and uploads photograph.\n3. AI service validates image format.\n4. System issues instant UPI transfer within 60 secs.\n5. System renders confirmation screen with transaction ID.

Step-by-Step UI Tutorial & Visual Workflow Guide

Below is the practical, non-technical walkthrough showing how Business Analysts design, review, and execute this capability inside real-world tools like Jira, Confluence, and enterprise software portals.

Visual Use Case Architecture: Alistair Cockburn Formal Specification Blueprint

EXECUTION PHASES
1 Identification
Use Case Header & Actors

Use Case ID: UC-204 | Title: Instant UPI Spoilage Refund | Primary Actor: Customer | Secondary Actors: Payment Gateway, Warehouse Auditor.

2 System Verification
Preconditions (Entry Criteria)

1. Customer has an account in good standing. 2. The order was marked DELIVERED within the past 2 hours.

3 Ideal Experience
Main Success Flow (Happy Path)

1. Customer selects damaged item. 2. Uploads photo. 3. System validates eligibility (< INR 1,000). 4. Instant UPI payout credited in 180s.

4 Edge Conditions
Alternate Flows (Deviations)

3a. If refund amount > INR 1,000, system routes claim to human supervisor with a 15-minute SLA timer.

5 Error Recovery
Exception Flows (Failures)

4a. If UPI bank network times out, system automatically deposits equivalent instant credit into customer Zepto In-App Wallet.

6 Terminal Status
Postconditions (Exit State)

Refund recorded in accounting ledger, customer notified via push notification, dark store inventory damaged write-off logged.

Confluence Use Case Specification Template

Step-by-Step: Structuring Bulletproof Use Cases in Confluence

Step 1
Step 1: Name with Verb + Noun

Always phrase the title as an action: "Request Grocery Refund", not "Refund Section".

Step 2
Step 2: Isolate the Happy Path

Number steps sequentially (1, 2, 3...) showing the ideal journey where zero errors occur.

Step 3
Step 3: Branch Out Alternate & Exception Paths

Use alphanumeric sub-numbering (3a, 3b, 4a) to document exactly what the system does when things go wrong.

Step 4
Step 4: Review with QA Engineers

Hand the use case to QA testers. Every Alternate and Exception branch directly becomes a dedicated regression test case.

Formal Use Case Card: UC-204 Instant Grocery Refund

COCKBURN BLUEPRINT
itemwhenaudience
Primary ActorZepto Mobile App CustomerSecondary: Razorpay Payouts API, Support Agent
PreconditionsOrder status = DELIVERED within last 120 minutes; photo permissions enabled on phoneEntry Guard Condition
Main Flow (Happy Path)Select item -> Upload photo proof -> Auto-Approved -> INR 240 credited via UPI within 3 minPrimary Success Scenario
Exception Flow (Fail-safe)Customer UPI bank down -> System alerts customer and deposits instant Zepto Cash Wallet creditGuaranteed Customer Satisfaction

Implementation Guidelines for Business Analysts

  • Write the Main Success Flow first in 5 to 8 clean conversational steps; then brainstorm "What could go wrong at Step 2? Step 3? Step 4?" to identify all Alternate and Exception flows.
  • Every Exception Flow should map directly to a negative QA test case in your test suite.

Practical Hands-On Exercises

  1. Draft Alternate Flow 3A for an ATM Cash Withdrawal use case when the machine runs out of ₹500 currency notes.