Content Type: Module
Categories: Utility


Simple Rules Engine is the simple, stupid rules engine or BRMS. It provides the facility to define the `Rule` with conditions and actions, and the RulesEngine evaluate conditions and execute actions.

So in terms of business, think of business rules as “if-then” statements. So, a basic example of a rule would be, “If A, then B, else if X, then do Y.” To put it in simple term, it's an expert program which runs the conditions (viz. rules) on the data and if any condition (viz. a rule) matches then it executes the corresponding actions.

With the help of "Mendix Expression Language" this rule engine also supports defining conditions on Mendix object, as well as you can define actions on Mendix objects and even execute a Microflow.


- Define rules on Mendix objects by using Mendix Expression Language (MEL)

- Ability to define namespace to hold set of rules together

- Each rule will have it's corresponding action and that will be executed when condition is satisfied

- By using Mendix Expression Language (MEL) in Action we can modify (set) value of an attribute of input or output object

- As an Action you can also call a Microflow

- Rules engine is Mendix context aware, that means you can use it with NPE as well


How to configure Simple Rules Engine in your app?

- Download the module in your Mendix App

- Create a navigation item using "SimpleRuleEngine_Overview" page from `__UseMe` folder. As an alternative you can also use "SNIP_SimpleRulesEngine_Overview" snippet in your page.

Visit Github wiki page for detailed documentation.


Version: 1.0.1
Framework Version: 9.18.4
Release Notes: - Fixed an issue of duplicate check on rule sequence number does not work correctly when an already saved rule is being edited. (#3 )
Version: 1.0.0
Framework Version: 9.18.4
Release Notes: Initial release of the module for beta testing and collecting feedback. Refer documentation for release notes.