Business Rules : In this we will learn about Business Rules and creation of Business Rules like Rule Sets and Decision Tables.
Introduction : Business rules are service components that declare policy or conditions that must be satisfied within your business.
A business rule is a representation of how business policies or practices apply to a business activity. A business rule is a condition that must be satisfied when a business activity is being performed. A rule can enforce business policy, establish common guidelines within an organization, or control access in a business environment.
Business Rules Creation :
Rule Group : Rule group is Individual SCA Component .It contains both Rule Sets and Decision Tables.So it acts as a container for your business rules. The rule group is the primary element of a business rule, it provides the interface between the business process and the rule logic. The rule group also defines date ranges during which specific rule logic applies.
Rule Set : Rule set is a set of one or more if-then conditions or action statements that are processed sequentially.
Evaluated from first listed to last
Able to choose any number of Action or If-Then conditions
An Action does not have an If-Then condition, it initializes or sets variables
An If-Then condition to decide on an variable change
Decision Table : Decision table represents a multi-dimensional nested if-then structure.
The decision table is broken down into a tree decision structure.
A set of “if” conditions with “then” actions are defined at the intersection points of the table.
Conditions are evaluated in a nested order (tree).
Rule Set :It contains
Rule set : name and displayname
variables : we can able to declare local variables here. we can use those variables in our rules("if then" & "Action rules").
Rules : Here we can able to create IF-Then Rules(condition then action), Action Rules(only action with out condition) and template rules.
Template : We can able to define the template for one rule. In templates we can again define either IF-Then Rules, Action Rules only. for templates we will define parameters to use as variables.
Introduction : Business rules are service components that declare policy or conditions that must be satisfied within your business.
A business rule is a representation of how business policies or practices apply to a business activity. A business rule is a condition that must be satisfied when a business activity is being performed. A rule can enforce business policy, establish common guidelines within an organization, or control access in a business environment.
When to use a business rule : Use business
rules to officiate over frequently changing business practices that
can come from within a business or mandated from outside a business,
such as regulatory agencies. Some typical uses for business rules
are as follows:
- Determining current interest rates
- Calculating discounts for products
- Calculating sales tax
- Determining special groups such as senior citizens or preferred customers
Business Rules Creation :
Rule Group : Rule group is Individual SCA Component .It contains both Rule Sets and Decision Tables.So it acts as a container for your business rules. The rule group is the primary element of a business rule, it provides the interface between the business process and the rule logic. The rule group also defines date ranges during which specific rule logic applies.
Rule Set : Rule set is a set of one or more if-then conditions or action statements that are processed sequentially.
Evaluated from first listed to last
Able to choose any number of Action or If-Then conditions
An Action does not have an If-Then condition, it initializes or sets variables
An If-Then condition to decide on an variable change
Decision Table : Decision table represents a multi-dimensional nested if-then structure.
The decision table is broken down into a tree decision structure.
A set of “if” conditions with “then” actions are defined at the intersection points of the table.
Conditions are evaluated in a nested order (tree).
Rule Set :It contains
Rule set : name and displayname
variables : we can able to declare local variables here. we can use those variables in our rules("if then" & "Action rules").
Rules : Here we can able to create IF-Then Rules(condition then action), Action Rules(only action with out condition) and template rules.
Template : We can able to define the template for one rule. In templates we can again define either IF-Then Rules, Action Rules only. for templates we will define parameters to use as variables.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.