I'm creating some Drools rules for some extended event translation. For that reason I wanted to use the EventBuilder class to set some existing event parameters of an event to a new value. I tried to use the setParam() method of EventBuilder and saw, that an existing event parameter did not get a new value, instead, a new event parameter with the same name was added.
After a look into the source code:
I think, the condition in the second if() sould be