Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Dynamically generated Lookup Query

Can I use Jython Evaluator(or any other stage other than origin) to read from a file on Local FS/database and generate Lookup query dynamically? I tried doing it but the script doesn't parse because of lines like these

 tt = where_clause + isplit[0] + " ='${record:value('/" + isplit[0] + "')}' "
    else:
 tt = where_clause + isplit[0] + " ='${record:value('/" + isplit[0] + "')}' AND "

Error - Could not resolve implicit EL expression.... ....javax.servlet.jsp.el.ELException: No function is mapped to the name "record:value"

Dynamically generated Lookup Query

Can I use Jython Evaluator(or any other stage other than origin) to read from a file on Local FS/database and generate Lookup query dynamically? I tried doing it but the script doesn't parse because of lines like these

 tt = where_clause + isplit[0] + " ='${record:value('/" + isplit[0] + "')}' "
    else:
 tt = where_clause + isplit[0] + " ='${record:value('/" + isplit[0] + "')}' AND "

Error - Could not resolve implicit EL expression.... ....javax.servlet.jsp.el.ELException: No function is mapped to the name "record:value"

@metadaddy - Please see if you can help.