One of the very important needs in rules execution is collecting all sorts of information during the execution process. For example, what rules have fired, or what conditions were or were not met. This information helps you to understand how a particular decision is made based on the defined business rules.
Explainability
This means once rules are executed, and events are collected, you can create a view to explain what decisions has been made, based on what rules execution as part of what process and under what circumstances.
The above image shows the hierarchical view of what has happened at runtime and why a decisions has been made. These events can be used to build Trace, Log and or provide an application custom view of what's happening at runtime.
for instance at an application level and they can be be embedded into the system and present different perspective to the user:
The application must be able to explain why a decision was taken and allows drilling down to the reasons.
There are many different ways to collect this information. When a set of logic documents (models) is modeled and rules are defined, before executing them you can tell the system what Events you are interested in.
You can selectively set the event in which you are interested, or simply express your interest in all of them by simply setting one boolean property.
When execution is finished, you can collect all of the events from the result:
Or, if you only want to generate a log information from these events, you can simply collect a ready-to-use one from the ConclusionLog property of the execution result.
Events allow you to understand “why” a decision is taken when it is taken. And you can simply store this information along with the result into your system for future use. Business rules execution should not be like running a black box, you need to have full visibility during the modeling as well as at execution time.
For more information please visit our Resource Hub at https://resource.flexrule.com/knowledge-base/events-at-runtime/
Last updated November 18th, 2020 at 02:44 pm, Published November 25th, 2016 at 02:44 pm
CEO and the founder of FlexRule – He is an expert in architecture, design, and implementation of operational decisions, business rules, and process automation. Created Decision-Centric Approach, a methodology that brings People, Data, Rules, and Processes together to automate operational business decisions.
This approach is recognized by Gartner as the missing link to provide business value to organizations.
Leave A Comment
You must be logged in to post a comment.