Hi ,
i had a requirement on mapping condition
If field1 = ABC and field2 <> XYZ then use the values from that 'SRCHEADER' to 'TGTHEADER'. for this i had written UDF
for (int i = 0; i< SRCHEADER.length; i++) {
if(field1[i].equals( "ABC") && !(field2[i].equals( "XYZ")))
result.addValue("");
else
result.addValue(ResultList.SUPPRESS);
}
while executing i ma getting error: Exception:[java.lang.ArrayIndexOutOfBoundsException: 1]
can you please help me on this.
thanks