Jython Script Limitation in FDMEE


When Jython script reaches the limit, the following error occurs.

arrAccnt = (‘xxx’,’xxx’)
ICP = fdmRow.getString(‘ICP’)     ENTITYX =
fdmRow.getString(‘ENTITYX’)    if
fdmRow.getString(‘ACCOUNTX’) in arrAccnt:

 

As a workaaround the below steps might be helpful.

1) Split the code into 2 mappings.
2) Combine multiple if clauses
e.g.:elif ICP[-6:] == ‘xxx’ or ICP[-6:] == ‘xxx’: fdmResult = ‘xxx_N’
3) Change logic:
if ICP[-6:] == ‘xxx’ or ICP[-6:] == ‘xxx’: fdmResult = ICP[-6:]
4) Explore other mapping types e.g. SQL based scripts, format mask etc.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s