Call function fro a module

Hi,

I have my module installed on the gateway.
I am trying to call it from the script console but it doesn’t seem to see it.
What is the call to do this?

The script console has no direct access to the gateway. If your module is loaded in the designer scope, you should be able to import the classes like any other java class. If it is only in gateway scope, you’ll need to implement message or request handlers in the gateway to call your module functions, and use system.util.sendRequest() to invoke those handlers.

1 Like