Hello,<div><br></div><div>I try to put a condition in my LHS, such as:</div><div><br></div><div><div>rule "initial_playground_dialog"</div><div> #agenda-group "firstTimeUser"</div><div> #salience 99</div>
<div> when</div><div> $gst : GameStateController(!hasEventOccurred("initial_playground_dialog"))</div><div> $list : List()</div><div> $screen : FrontendScreen.PLAYGROUND</div><div> then</div>
</div><div> ....</div><div>end</div><div><br></div><div>where 'FrontendScreen' is an enum and PLAYGROUND is its property. However I get a syntax error. What's the proper way to check for and assign such a session object?</div>
<div><br></div><div>Any help is appreciated!</div><div><br></div><div>Best regards,</div><div>Martin</div>