Executing Python from Module

[quote=“chuckcoughlin”]scriptmgr.runCode("app.ils.callback.handleCompletion",mgr.createLocalsMap(),"xxx"); gives a JythonExecException: File “xxx” in line 1 in , name “app” is not defined"

It seems as if this call expects Python code in an external file, whereas my code is, in the designer, in Configuration->Script Modules in a package app.lis.callback. The callback package has a method defined “handleCompletion”.

— chuck[/quote]

Are ‘mgr’ and ‘scriptmgr’ the same instances of ScriptManager? What’s going on there? And why doesn’t handleCompletion have the open/close paranethesis?