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?

有帮助吗?

解决方案

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

rule "rule name"
    when
        .......
    then
end
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top