1.2.2. Rule Language Changes

1.2.2. Rule Language Changes

The DRL Rule Language also has some backward incompatible changes as detailed below.

1.2.2.1. Working Memory Actions

The Working Memory actions in rule consequences were also changed in a similar way to the change made in the API. The following table summarizes the changes:

Drools 3.0.x Drools 4.0.x
assert() insert()
assertLogical() insertLogical()
modify() update()
Table 1.2. Working Memory Actions equivalent DRL commands