Last week

Upgrade Drools version

Blog post image

We sometimes see questions regarding Drools version upgrade. Most of those questions are about how to change the old API usage in Drools 5 or 6. In this article, I’m going to guide how to change your code to work with the latest Drools version (7.70.0.Final as of now). API If you are using oldRead more →

DMN Types from Java Classes

Blog post image

Drawing a real case DMN asset may become a time-consuming activity. In some domains, the possible types involved in DMN logic can explode into dozens or even hundreds of possible involved objects. Although a well-designed UI can support users to define your domain object type in a simpler and faster way possible, other alternative strategiesRead more →

Last 2 weeks

Last 6 months

Using JavaScript and Power Fx with DMN

Blog post image

In this short update, I want to share with you about an experimental feature to leverage the extensibility of the DMN specification to evaluate expressions using a plurality of expression languages, such as JavaScript, Power Fx, and potentially many more! For the running example in this post, let’s use the Body Mass Index (BMI) calculationRead more →

Prototypes and Live Queries: A Sneak Peek Into The Future of Drools (featuring Debezium and Apache Calcite)

Blog post image

Drools is a hybrid rule engine, allowing both data-driven forward chaining (rules match facts in the working memory producing other facts that in turn activate other rules) and goal-driven backward chaining (queries match facts in the working memory, eventually invoking other queries to retrieve them). This second usage pattern is also available in streaming modeRead more →

Calling Java from DMN

Blog post image

Decision Model and Notation (DMN) is designed to catch the crucial business logic which affects decisions. It’s not meant to be a replacement for a general purpose programming language. FEEL is a powerful expression, but it is on purpose designed to be an expression language and not an imperative language to avoid bringing in theRead more →

Data enrichment use-case with DMN and BPMN

Blog post image

In this post I want to share an interesting use case of data enrichment, using DMN with BPMN and other open standards. The typical usage pattern for data enrichment is the following: a complex data structure containing several attributes is provided as input; based on some computations and decision results, the original structure is enrichedRead more →

Event-driven rules with Kogito

Blog post image

As part of our effort to make Kogito usable in an event-driven fashion, this article introduces a new addon: the event-driven rules addon. It is available since Kogito v1.12.0 and its behavior resembles what the event-driven decisions addon (presented here) already does for decisions. Key concepts The new addon enables the evaluation of DRL ruleRead more →