Closed antoniomacri closed 3 years ago
According to drools drl syntax you're writing that modify block mistakenly. The setters should be separated by a comma like in
modify($evaluation) {
setPropA(true),
setPropB(10)
}
I agree that the fact that kogito is taking care of only one of the 2 statements instead of emitting a compile time error is misleading. I will fix this.
Hope this is the correct project to address this issue.
I'm using the Quarkus extension.
If I have:
it is compiled into:
If I use two modify()s, it turns into:
However in both cases the bitmask is defined on a single property:
Is there any chance to support modifying muliple properties at once?