I am having some issues/confusion regarding the resources that are available in an (email) event handler.
I have a test script data source that retrieves the point hierarchy and list of data points and prints their length:
When I copy the same code to an event handler script, the lengths are 0 (or undefined):
Is the configuration and data point query not available in the event handler?
Aside: it's sometimes a challenge that the logging behaviour is not the same between a data source and event scripting. Unless logging is turned on in a data source script, log statements will not be displayed when validating the script. However, they will be displayed when validating an event handler script. This is kinda understandable considering there is no explicit switch for logging in the handler (which would be nice to have).
This there something I am missing?