How can I force to resolve dependencies in a Connector?

Hi,

I defined a method in a Groovy script, but when I try to access that method from a connector I’m getting a “Compras is neither defined in the script nor in dependencies” error.

If I try to define the dependencies manually, ‘Compras’ doesn´t appear in the list of available dependencies. I’m doing exactly the same in another process and it works fine.

Any ideas?

Hello,
Methods written in separate scripts cannot be accessed in other scripts. You can either copy/paste the relevant code or import a jar with the relevant code to make it accessible to multiple scripts.