Dear All, I am trying to use If condition in the assertion part in CEP, I was wondering if someone can provide an example. I am trying to do this logic: Incoming event1 If event1.x>1 then event2.y=2 else event2.y=3 endif Derived event event2 I have tried to write it but getting error in the authoring tool. Attached the definition file. Also if you can provide an example for the : Crosses – Crosses(statFunc ,Resolution, ...) checks which boundary was crossed by the status function, while considering the resolution of the boundary. Assuming it's working. Best, Ahmed Sadek -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20150702/9361e4b5/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: ExposeRuleTemplate.json Type: application/json Size: 12471 bytes Desc: not available URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20150702/9361e4b5/attachment.json>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy