hale icon indicating copy to clipboard operation
hale copied to clipboard

[Feature]: Add an additional binding for the service provider to Groovy scripts

Open JohannaOtt opened this issue 11 months ago • 0 comments

Is your feature request related to a problem? Please describe. When using this alignment on the haleconnect platform, it fails because in the external groovy snippet, a HaleUI class is used.

Describe the solution you'd like I tried to replace it with with HalePlatform.getService(...) instead and tested the project attached to this issue using the UI but that fails with java.lang.NullPointerException: Cannot invoke method getTable() on null object pointing to the fact that service provider has no access to that service. This means we would need to add an additional binding for the service provider to Groovy scripts (for example here). Please contact me when working on the ticket - I can provide example data with which the error message can be caused. GroovyLookup.zip

JohannaOtt avatar Mar 22 '24 15:03 JohannaOtt