摘要 |
Methods, systems, and a computer-readable medium are provided for a set of business rules during runtime of a software application program in a computer system. During runtime of a software application, a current rule is specified for a set of business rules. Then, one or more conditions are defined for the current rule. A condition is a decision based on data made available to the software application. Next, one or more actions for each condition are defined for the current rule. Next, each condition is linked with an action to define a business rule. The aforementioned steps are then repeated until the set of business rules have been defined. By defining the business rules during runtime, rules may be defined for a variety of application programs without programming. After the business rules have been defined, they may be.evaluated during runtime of a software application program in a computer system. The business rule is evaluated based on one or more conditions, actions, and user data defined in a state object. After evaluating the business rule, a determination may be made as to the success of the rule. Based on the evaluation, existing user data in the state object may be updated or new user data may be added to the state object based.
|