thingsboard
thingsboard copied to clipboard
TBEL is eval supported?
Component TBEL
Description Does TBEL support the javascript equivalent of eval function? Use case is that some operations are defined in server side attributes and it would be useful to use the eval function.
Environment
- OS: Ubuntu 22.2
- ThingsBoard: 4.0.1
- Browser: NA
No — TBEL does not support the JavaScript eval() function or anything equivalent. As your reference: TBEL = fast, safe expressions (no eval). JavaScript executor = use if you need eval-like dynamic execution.