My requirement is I will get queue of values for two source fields (Var1, Var2), when ever both are equal those many times third source field should send to target.
Attached is the image of my mapping (which is i am getting (wrong))
I tried below UDF's with execution type "All values of queue" , Please check and correct the UDF based on my below expected mapping.
UDF1: (Not working as expected)
int len = var1.length;
int key =0;
String finalval = new String[len];
UDF2: (Not expected as expecting)
int b= var2.length;
if(var2[j].equals(var1i )) ("i" is under square brackets)
Attached is the image of my mapping (which is i am expecting (If i pass same values two times i am getting this, But expected source values are different))
Thanks & Regards,