Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| 2000_concepts:0200_basics:0200_business_rules_carriers_business_logic [2026/08/13 00:50] – removed - external edit (Unknown date) 127.0.0.1 | 2000_concepts:0200_basics:0200_business_rules_carriers_business_logic [2026/08/13 00:57] (current) – ↷ Links adapted because of a move operation localdev | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | {{tag> | ||
| + | [< | ||
| + | ====== Business Rules as Carriers of Business Logic ====== | ||
| + | |||
| + | In // | ||
| + | |||
| + | A rule specifies one or more actions that should be executed when the rule conditions are met. Conditions are optional and if none are specified the actions are executed unconditionally. In other words a rule states what should happen and when. | ||
| + | |||
| + | Here are some examples of rules: | ||
| + | |||
| + | <code aim>IF Account.Holder.Age < 16 THEN | ||
| + | REPORT ERROR ' | ||
| + | <code aim> | ||
| + | <code aim>IF Reservation.Status WAS CHANGED TO ' | ||
| + | SEND ReservaitonOfferEmail TO Reservation.Member </ | ||
| + | <code aim> | ||
| + | <code aim>IF Fee.Status=' | ||
| + | |||
| + | |||
| + | Actions of business rules can perform a variety of tasks. Most importantly they can create and modify business objects, i.e. perform data processing. They can also perform calculations, | ||
| + | |||
| + | Evaluation of rules is triggered when certain events happen inside the system. Most importantly rules are triggered when data is entered or edited or, in // | ||
| + | |||
| + | When a value of an attribute changes // | ||
| + | |||
| + | There are also other events apart from the modification of a business object that may trigger rule evaluation and action execution – a full list of these events is provided in the [[2000_concepts: | ||
| + | |||
| + | Configuration of business rules is explained in detail in [[2500_config_apps: | ||
| + | |||
| + | |||