Are there any solutions to debug CEL for cumulocity development?

122 views Asked by At

Are there any solutions to debug CEL (cumulocity event language) for cumulocity analytics development?

Thanks, ZJP

1

There are 1 answers

0
TyrManuZ On

There are two things that you can take a look at to debug CEL.

  1. If you go to the module in adminstration app you can see on the right all outputs that are generated by your module. That way you can verify your statements. Keep in mind that it only shows something if the statement outputs something. If you don't see anything loosen the "where" conditions or split your statement into multiple statements
  2. If there is an error happening in one of your statements or expressions (in the case of a real Java error) there will be an alarm created. They are visible in the normal alarm list but you will also be notified on the home page of administration if there was an error.