Skip to main content

If you don't have an IBM ID and password, register here.

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. This profile includes the first name, last name, and display name you identified when you registered with developerWorks. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

A simple pattern for requirements analysis

Nalla photo
Nalla Senthilnathan has worked as an IT consultant designing and developing enterprise Web applications for the past seven years. Nalla holds a Ph.D. in mechanical engineering from the National University of Singapore.

Summary:  This article describes a pattern to transform business stakeholder requirements into a set of use cases. With this reusable pattern, you can identify business and IT processes, activities, and functions. An example applies the pattern to a pizza ordering system.

Date:  12 Aug 2008
Level:  Introductory PDF:  A4 and Letter (141KB | 12 pages)Get Adobe® Reader®

Comments:  

Introduction

There are many references and books about requirements analysis. Most, however, don't provide a reusable technique that you can apply to new problems.

The article "Creating Use Case Diagrams" comes close to meeting the reusability objective. It describes a process to transform business requirements descriptions into a set of use cases. You have to pay very close attention, though, to extract the ideas in a way that they can be applied to a new project.

This article expands the ideas in "Creating Use Case Diagrams" and casts the ideas into a pattern format, so you can easily apply it to new problems. The proposed pattern is especially helpful for developing IT systems.


The pattern

Take the following steps to develop a pattern for business stakeholder requirements descriptions:

  1. Identify the business processes.
  2. Identify the IT processes that support each of the business processes.
  3. Identify the activities within each of the IT processes.
  4. Identify the functions within each of the activities.
  5. Identify the use cases for one or more of the functions.

Using an online pizza ordering system as an example, the rest of this article walks through the steps in the pattern.


Requirements description

A corner gourmet pizza vendor, who has operated a traditional pizza delivery service using telephone orders, wants to automate the ordering process by developing an online system. The customers need to be able to:

  • Select the pizza toppings, size, and number of pizzas.
  • Log in and enter the delivery address.
  • Specify the time of delivery.
  • Revise or delete their orders.

A store associate should be able to emulate a member login and perform the corresponding member functions on their behalf.


Apply the pattern

This section shows what happens when you apply the pattern steps to the stakeholder requirements.

BP = business process
ITP = IT process
A = Activities
F = Functions

1. Identify the business processes

BP1: Order automation process

2. Identify IT processes that support each of the business processes

BP1: Order automation process

  • ITP1: User management process
  • ITP2: Inventory management process
  • ITP3: Order management process

3. Identify the activities within each of the IT processes

BP1: Order automation process

  • ITP1: User management process
    • A1: Membership activity
  • ITP2: Inventory management process
    • A1: Set up pizza toppings activity
    • A2: Set up pizza sizes activity
  • ITP3: Order management process
    • A1: Order activity

4. Identify the functions within each of the activities

BP1: Order automation process

  • ITP1: User management process
    • A1: Membership activity

      F1: Create member
      F2: Update member
      F3: Delete member
      F4: View members
      F5: Reset password
      F6: Create store associate password

  • ITP2: Inventory management process
    • A1: Set up pizza toppings activity

      F1: Add pizza topping and price
      F2: Update pizza topping
      F3: Delete pizza topping
      F4: View pizza toppings

    • A2: Set up pizza sizes activity

      F1: Add pizza size and price
      F2: Update pizza size
      F3: Delete pizza size
      F4: View pizza sizes

  • ITP3: Order management process
    • A1: Order activity

      F1: Enter order
      F2: View order
      F3: Submit order
      F4: Revise order
      F5: Delete order

5. Identify the use cases for one or more of the functions

The use cases can now be identified directly using the functions in the steps above. Figure 1 shows the list of use cases. The add, update, and delete functions are grouped into one "Manage" use case. For the sake of brevity, the login use case is not shown; it's assumed to be part of the manage use case.


Figure 1. Pizza order system
Pizza order system

There you have it. All essential use cases are identified. To show how it can be easily applied to any new problem situation, let's use our pattern step-by-step to come up with a solution for the stakeholder requirements in a case study.


Use the pattern in a case study

Look at the case study in "Creating Use Case Diagrams," and use the pattern to define stakeholder requirements for a courseware system.

1. Identify the business processes

BP1: Course automation process

BP2: Course schedule automation process

2. Identify IT processes that support each of the business processes

BP1: Course automation process

  • ITP1: Manage courses

BP2: Course schedule automation process

  • ITP1: Manage tutors
  • ITP2: Manage course schedules

3. Identify the activities within each of the IT processes

BP1: Course automation process

  • ITP1: Manage courses
    • A1: Course topics activity
    • A2: Course activity

BP2: Course schedule automation process

  • ITP1: Manage tutors
    • A1: Tutor activity
    • A2: Tutor assignment activity
  • ITP2: Manage course schedules
    • A1: Course scheduling activity

4. Identify the functions within each of the activities

BP1: Course automation process

  • ITP1: Manage courses
    • A1: Course topic activity

      F1: Add course topic
      F2: Edit course topic
      F3: Delete course topic
      F4: View course topics

    • A2: Course Activity

      F1: Add course
      F2: Edit course
      F3: Delete course
      F4: View courses

BP2: Course schedule automation process

  • ITP1: Manage tutors
    • A1: Tutor activity

      F1: Add tutor
      F2: Edit tutor
      F3: Delete tutor
      F4: View tutors

    • A2: Tutor assignment activity

      F1: Assign tutor to course
      F2: Edit tutor

  • ITP2: Manage course schedules
    • A1: Course scheduling activity

      F1: Assign course hours schedule
      F2: Assign tutor to course hour
      F3: View course calendar

5. Identify the use cases for one or more of the functions

The use cases can now be identified directly using the functions in the previous four steps. The add, update, and delete functions are grouped into one "Manage" use case. Compare the use cases in Figure 2 with those in the article “Creating Use Case Diagrams.” Clearly, we have not missed any use cases identified. The proposed pattern has helped identify all essential use cases.


Figure 2. Courseware system
Courseware system

Summary

In this article you learned about an approach to requirements analysis using a simple pattern format. Two typical example problems showed how to use the pattern. The approach and the pattern are simple to follow, and you can apply them to new problem situations.


Resources

Learn

Get products and technologies

  • Download IBM product evaluation versions and get your hands on application development tools and middleware products from IBM® DB2®, Lotus®, Rational®, Tivoli®, and WebSphere®.

Discuss

About the author

Nalla photo

Nalla Senthilnathan has worked as an IT consultant designing and developing enterprise Web applications for the past seven years. Nalla holds a Ph.D. in mechanical engineering from the National University of Singapore.

Report abuse help

Report abuse

Thank you. This entry has been flagged for moderator attention.


Report abuse help

Report abuse

Report abuse submission failed. Please try again later.


developerWorks: Sign in

If you don't have an IBM ID and password, register here.


Forgot your IBM ID?


Forgot your password?
Change your password


By clicking Submit, you agree to the developerWorks terms of use.

 


The first time you sign into developerWorks, a profile is created for you. This profile includes the first name, last name, and display name you identified when you registered with developerWorks. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

Choose your display name

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerWorks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

(Must be between 3 – 31 characters.)


By clicking Submit, you agree to the developerWorks terms of use.

 


Rate this article

Comments

Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Rational
ArticleID=330247
ArticleTitle=A simple pattern for requirements analysis
publish-date=08122008
author1-email=nsenthil@hotmail.com
author1-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

For articles in technology zones (such as Java technology, Linux, Open source, XML), Popular tags shows the top tags for all technology zones. For articles in product zones (such as Info Mgmt, Rational, WebSphere), Popular tags shows the top tags for just that product zone.

For articles in technology zones (such as Java technology, Linux, Open source, XML), My tags shows your tags for all technology zones. For articles in product zones (such as Info Mgmt, Rational, WebSphere), My tags shows your tags for just that product zone.

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).