Just finished listening to the second part of the Unit 6. Authoring rules of ZB300 Developing Business Rule Applications with IBM WebSphere ILOG JRules V7.0 (after the first part I described in Unit 6. Authoring rules of ZB300 over and over again).
I started with “Business action language: Business rule structure” where I could know a bit about Business Action Language (BAL) used in Rule Studio as well as Rule Team Server. The business rule structure is as follows: optional definitions, optional if, mandatory then and optional else.
The definitions section uses set…to.. constructs with the to part pointing to constant, expression, object or their collection in the working memory.
The condition part – if part – uses all, any, none with comparisons, boolean, existence, set membership, count.
Use parenthesis to avoid ambiguities as it’s pretty common in more complex rule conditions.
The else part is only executed when definition part is met and if part is not. It’s probably one of these tricky questions you may face during the exam.
The boot BOM is verbalized with System vocabulary and represents JDK types.
preconditions can be added to decision table or tree to limit the scope of the rules or to define variables.
ILOG Rule Language (IRL) is an executable form of rule artifacts, directly executed by rule engine. I’d call it the Rules DSL (Domain-Specific Language).
BAL is automatically translated to IRL, there’s the tab to view IRL for a corresponding BAL construct.
You can write technical rule artifacts in IRL directly. IRL rule is made of a condition (when) and an action (then) parts. Note the difference between when in IRL and if in BAL. I guess it’s yet another point of confusion during the ILOG JRules certification exam.
Category is an identifier to business classes and members to filter out with rule category filter. There’s the predefined category any meaning every category.
Domains – a set of possible values
Business rule templates are partially written business rules, edited in Rule Studio, used by policy managers in Rule Team Server.
Templates for decision tables are also possible.