Requirement Excellence Framework™ Business Rules www.EnfocusSolutions.com
Business Rules Project Feature Impact Process Category Rule Book Scope Statement • Business rules are maintained separate from requirements. Functional Supplemental They are organized by rule book Requirement Requirement for various functional topics such vacation and holiday leave, travel, customer service, etc. Business Rule Related Rules• Each rule book has a rule book owner. Rule books are ideally maintained by the business. Rules may be linked to requirements. Confidential - Not for External Distribution 1
Business Rules• A business rule defines or constrains one aspect of the business that is intended to assert business structure or influence the behavior of the business. A business rule should not be confused with a workflow rule that defines the sequence of events to complete a business process.• Every organization should manage its business rules as an enterprise level asset, not as project level assets.• Business rules are not functional requirements, although they may lead to functional requirements in order to implement or enforce them.• If you can trace a specific functional requirement back to the business rule from which it originated, it is easier to modify the system to comply with a change in that rule.• Different functional areas may have different sets of rules, which need to be negotiated so a uniform set is applied.• Business rules should be defined separately from other requirements artifacts because they may be referred to within those artifacts several times.• Business Rules may be implemented a variety of ways – Application programming logic – Database stored procedures and triggers – Business rules engines – Manually Confidential - Not for External Distribution 2
Rule Books• Business Rules are generally organized by function or group called Rule Books• Each Rule Book is managed and organized by a Rule Book Owner• Examples of Rule Books are: Customer Acquisition, Supplier Approval, Expense Reporting, Purchasing, Time Accounting, Building Access and Security Confidential - Not for External Distribution 3
Business Rules• Ronald Ross (2003) describes several basic principles of what he calls “the business rule approach”. He believes that rules should: – Be written and made explicit. – Be expressed in plain language. – Exist independent of procedures and workflows (e.g. multiple models). – Build on facts, and facts should build on concepts as represented by terms. – Guide or influence behavior in desired ways. – Be motivated by identifiable and important business factors. – Be accessible to authorized parties (e.g. collective ownership). – Be single sourced. – Be specified directly by those people who have relevant knowledge (e.g. active stakeholder participation.) – Be managed. Confidential - Not for External Distribution 4
Types of Business Rules Type Purpose ExampleTerm Definitions that are documented in a “A job is a set of services glossary and used as the building block to provided to a Customer at a define other business rules specific location on a given day.”Facts Facts are simply statements that are true “Each estimate must have about the business. Often facts describe an estimated amount” associations or relationships between important business terms.Constraints Constraints place restrictions on the actions “Each Job must be the system or its users may perform. scheduled within 7 Sometimes constraints state which user calendar days from when classes can perform specific activities under the Request is received.” certain conditions. Things like security policies that limit access to authorized users are constraints. 5
Type of Business RulesType Purpose ExampleAction Action Enablers are rules that triggers “If Job Completion Date isEnablers some activity under a set of specific > 7 calendar days after the conditions. The conditions that lead to the Job Request Date, apply action could be complex combinations of 5% discount to the total.” true and false values for multiple individual conditions.Calculation Calculations defines the computational “Job Discount = Job Total x formulas or algorithms that generate new Customer Discount” information. Many computations are performed according to rules that are external to the enterprise, such as Federal income tax withholding tables. 6
Business Rule ExamplesBR# Business Rule Name Business Rule Description The product information in the online catalog must be 1 Timely Product Information Adjustments current 100% of the time. Adjustments to this information must be made at any time. Although prices may vary daily, they are kept relatively Quarterly Sales Cycle Maps to Major Catalog stable for customers who are making regular purchases, 2 Changes therefore a major pricing update, incorporating any special offers, is limited to once a quarter. A product can be "deleted," meaning that it is no longer sold by Adventure Works Cycles. However, the product 3 Reactivating Deleted Products information should be available in case the product is reactivated at a future time. No change to product information can be made publicly 4 Authorization for Catalog Changes available without the approval from the information "owners," usually Engineering and/or Marketing. 7
A particular slide catching your eye?
Clipping is a handy way to collect important slides you want to go back to later.