Question

For my case it enough to see if a rule is executed or not. Then I use the WorkingMemoryConsoleLogger to see which rule was activated. I don't need to have a thenblock in the rules. However, when I remove that block it returns an error. How can I fix that?

Était-ce utile?

La solution

I got some support from the user group. So the then block can be empty.

rule "rule name"
    when
        .......
    then
end
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top