Best practices in Business rules

Best practices in Business rules

A business rule is a rule that defines or constrains some aspects of the business model. Business rules describe the operations, definitions and constraints that apply to an organisation. A particular aspect of the business rule is that these conditions are in constant change. Build rules in a way that can be easily changed.

Business rules name convention

Use the following prefixes:

Rule type Prefix Example
Visibility, required, editable, transition Is_ Is_CustomerVIP, Is_Allowed
Button Rule Exe_ Exe_CalcRates
Event Rule (On Enter, On Exit) Evt_ Evt_ProcessElements
Event Rule (On Save, Submit on change) Sav_ Sav_RecalculateFlags
Library Rules Finance.CreateElements, Common.FilterElements
Filter Rules Fil_ Fil_CustomerVIP, Fil_Requests
Use policies

Business rules are in constant change. Use Policies instead of Expressions to allow end users to easily manage them from the Work Portal. Changes can be performed in real-time to instantly adapt to new business requirements.

Use vocabularies

Vocabularies can be used in Expressions or Policies. End Users can manage vocabularies through Work Portal.

 

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>