_SmartRULES
Step 1 - Business Rules Module
Complementing the business rules module to the processes, we can create data validation rules both from the process and from any external source, via webservices and these rules can be executed in the process natively.
On the home screen we can follow the execution of these rules, prioritization and thus validate their effectiveness for your business.
Step 2 - Registering a business rule
In this module we can register a webservices in a simple way and the mapping of its values can be easily accessed in the rules. By registering a rule we define which information is mandatory, which webservices it will need to call and then we register its conditions or sentences.
Step 3 - Registering a condition/sentence
A rule can contain several conditions or sentences and in them we define the origin of the data to be validated, whether it is the data from the rule entry, from a webservices linked to rules or even fixed data informed by the user. We also choose what type of comparison and what return it will have if the condition is true or false.
Step 4 - Testing and validating scenarios for a business rule
After registering we can execute the rule within the module itself, simulating inputs and outputs without impacting the process. We can also validate all the execution history and which data were compared and its respective return.
An important point of the validation is to analyze the execution diagram of the rules and this way we have a complementary way to the process design that we did previously.
Step 5 - Integrating a business rule with webservices
Our business rule is available to be executed via webservices natively, without extra programming. We can use POSTMAN for example to emulate the integration between other systems with the rules engine.