Creating rules using the rule editor (deprecated)
Traditional:
You can create
rules using the Business Action Language (BAL) rule editor. The rule editor uses natural language
technology to express business decisions in a form that is readable by humans but can also be run by
a rule service runtime such as the IBM® Operational Decision
Manager Rule Execution Server.
About this task
You can use the BAL rule editor to build rules, add rule parts, statements, and fragments, and replace placeholders with variables and values. Use the completion menu in the editor to insert or edit constants, values, parts, or fragments of rule statements. While you are creating or editing rules, the editor highlights errors to help you identify and resolve problems in your rules.
- definitions part (optional)
- if part
- then part
- else part (optional)
The following steps describe how to author a rule using the rule editor. The rule is implemented in a BAL Rule component as part of a sample Decision service. The purpose of the sample service created in the procedure steps is to determine whether approval is required for certain employee expenses. The sample service is a single-function rule that can be called from any other service.