Posts

Showing posts from May, 2013

Rules engine for promotion

I am reading about rules engine and thought it would be a good idea to get some feedback from the forum. Rules engine allows one to write rules in Domain Specific Language (DSL). eg. one could write promotion rules as Customer has following attributes    - age is less than 42    - cart value is greater than 150    - type equals 'Guest' Then apply 10% discount This allows a BA to write business rules instead of a developer. During runtime, the engine parses all the rules and generates output which satisfies all the rules (thereby giving the flexibility to add new promotion rules incrementally covering wide range of scenarios). Since rules reside in a normal text file, it can be modified without redeploying an application. My question is - what is the flip side of using such a solution? UPDATE: IBM WCS might have suffered the peril of early adoption or they want to move to their proprietary solution (they acquired ILOG JRules in 2009). Considering the advances in