Hyperion Financial Data Quality Management (FDM/FDMEE) (MOSC)

MOSC Banner

Unable to use FDMEE API within Jython functions

edited May 2, 2018 9:10AM in Hyperion Financial Data Quality Management (FDM/FDMEE) (MOSC) 2 commentsAnswered ✓

Hi All,

I want to tidy up some FDMEE custom scripts using Jython functions, but I can't get the API to work within functions. As a simple example, I have the following script:

fdmAPI.logInfo('API call')

def myFunction():
#   global fdmAPI
    fdmAPI.logInfo('API call within function')
   
myFunction()

If I run this, the first call works fine, but the second call results in the following error:

line 5, in myFunction

    fdmAPI.logInfo('API call within function')

NameError: global name 'fdmAPI' is not defined

I've tried declaring the API as global within the function (see the commented out line in the script above) but that makes no difference. The product version is 11.1.2.4.0.79.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center