June 16, 2020

Agile User Story Splitting by Business Rules

Before I dig into this story splitting technique, let me give you a quick primer on what a Business Rule is. According to the BABOK®, a Business Rule is defined as:

“A specific, predictable, testable directive that is under the control of the business and that serves as a criterion for guiding behavior, shaping judgments, or making decisions.”

There are a couple of important things to know about Business Rules:

  • They are often discovered during the process of eliciting requirements, but they are not requirements; they are self-imposed directives of an organization.
  • Ideally, they should be managed outside of the systems against which the rules are applied.

Here are a few examples of business rules:

  • Customers must be over the age of 21 to purchase alcoholic beverages
  • Minors under the age of 13 may not open an account
  • Users cannot register without providing a valid email address
  • Etc.

Business Rules may also be more complex, with conditional logic.

So, how can Business Rules be used a tool to split User Stories? The key word that sticks out to me in the definition is “testable”.

Let’s say my fake Recipe app starts providing not just recipes, but also recommended food and [adult] beverage pairings. That is lovely for us grown-ups, but perhaps as an organization we don’t want to show that extra information to underaged users. We could apply a business rule to our system to check the birth date of the person on the account, and only show the beverage suggestion if the person is over 21. This can be tested in the app by adjusting the birthdates of users with accounts.

What stories could result from this split? 

This is a simple example (and honestly, I could argue for including this as part of one story’s acceptance criteria versus splitting it into two stories – but it’s just an example). Where this becomes especially handy is when the business rule logic is quite complex, with many branches.

Questions to ask:

  • What business rules apply to this story (and where are they documented)?
  • Are the business rules managed by an engine?
  • Are they complex, branching out in many different directions, with possibly different results?
  • Can you start with simple rules, and build off them over time?

As you evaluate using Business Rules as a story splitting technique, be sure that you remember what Business Rules are and how they apply to the work you are doing. Chances are you will uncover some and not even recognize them when you see them. If you’re lucky, your organization is on the mature end of Business Rules management. If not, be sure to watch out for conflicting rules.

 

agile transformation ebook

Subscribe to our Newsletter

Stay informed on the latest technology news and trends

Relevant Insights

Cybersecurity Myth Busted: Tools Are the Solution

When thinking about security, people often gravitate towards implementing various security tools, solutions, or products. If you bring up a...

Time to Reconsider MP-BGP EVPN for Your Datacenter Network?

VxLAN was defined in 2014 by RFC 7348 and has been used as a component in several SDN (software defined...

Part-Time Staff Cannot Monitor and Manage Your Security

Security is a full-time responsibility. It’s not 9-5. You have concerns, risks, and attacks 24/7/365. Adversaries work around the clock...
X