Q9: Business Rules and Events

   The Business Rules Group
The Business Rules Group As prepared by members of The Business Rules Group, Read Author Bio || Read All Articles by The Business Rules Group

Question: How does the Manifesto view the relationship between events and rules?[2]

Principle 6.5 states ...

The relationship between events and rules is generally many-to-many.

Business rules generally apply at various points in time. Each of the various points in time when a behavioral rule needs to be evaluated represents an operational business event. Such events can arise in either business processes or ad hoc business activity.

How do you find these operational business events? Consider the behavioral rule: A customer must be assigned to an agent if the customer has placed an order. Figure 1 shows the relevant terms and wordings for this business rule.

The business rule has been expressed in declarative manner. This means, in part, that it does not indicate any particular process, procedure, or other means to enforce or apply it. It is simply a business rule - nothing more, nothing less.

The business rule makes no reference to any event where it potentially could be violated or needs to be evaluated. The business rule does not say, for example, "When a customer places an order, then ...."

This observation is extremely important for the following reason. "When a customer places an order" is not the only event when the business rule could potentially be violated and therefore needs to be evaluated.

Actually, there is another event when this business rule could be violated: "When an agent leaves our company...." The business rule needs to be evaluated when this event occurs too since the event could pose a violation under the following circumstances: (a) The agent is assigned to a customer, and (b) that customer has placed at least one order.

In other words, the business rule could potentially be violated during two quite distinct kinds of operational business event. The first - "When a customer places an order ..." - is rather obvious. The second - "When an agent leaves our company ..." - might be much less so. Both events are nonetheless important because either could produce a violation of the business rule.

This example is not atypical or unusual in any way. In general, every business rule produces two or more kinds of operational business events where it could potentially be violated or needs to be evaluated. (I mean produces here in the sense of can be analyzed to discover.)

These operational business events can be called the business rule's flash points. Business rules do exist that are specific to an individual event, but they represent a small minority. Two additional points:

  • Expressing each business rule in declarative form helps ensure none of its flash points is exempted inadvertently.

  • Discovering and analyzing flash points for business rules can also prove useful in validating business rules with business people. Important (and sometimes surprising) business policy questions often crop up.

References:

[1] The Manifesto is free, only 2 pages long, translated into 15 languages. Have a quick look (or re-look!). No sign up required. Well worth your time.

[2] This FAQ excerpted from Building Business Solutions: Business Analysis with Business Rules, by Ronald G. Ross with Gladys S.W. Lam, An IIBA® Sponsored Handbook, Business Rule Solutions, LLC, 2011, 304 pp, http://www.brsolutions.com/bbs return to article

Standard citation for this article:


citations icon
The Business Rules Group, "Q9: Business Rules and Events" Business Rules Journal, Vol. 3, No. 12, (Dec. 2002)
URL: http://www.brcommunity.com/a2002/s010.html

About our Contributor:


   The Business Rules Group
The Business Rules Group As prepared by members of The Business Rules Group,

Originally a project within GUIDE International, the Business Rules Group [BRG] subsequently became an independent organization. BRG's membership comprises experienced practitioners in the field of systems and business analysis methodology. BRG's members are practitioners who work in both the public and the private sectors.

The BRG charter is to formulate statements and supporting standards about the nature and structure of business rules, the relationship of business rules with the way an enterprise is organized, and the relationship of business rules with systems' architectures.

BRG's standards work has been picked up and merged with OMG's.

For more on the BRG visit: http://www.businessrulesgroup.org/theBRG.php

Read All Articles by The Business Rules Group

Online Interactive Training Series

In response to a great many requests, Business Rule Solutions now offers at-a-distance learning options. No travel, no backlogs, no hassles. Same great instructors, but with schedules, content and pricing designed to meet the special needs of busy professionals.