User Defined Function
I need to create a message mapping where two output messages are involved. I need to map the input to one of the output messages based on the value of one of the parameters. How to create a user defind functionfor the same.
Input structure: name , age
Output 1 : name, age
Output 2 : name, age, status
Here status has to be "Elgible" if age is above 18 else "not eligible".
Can any one please provide me with the details like what kind of UDF it should be, Simple or Advanced ? How many input parameters? and the jave code to be written in UDF? also how to map this to output ?
Help will be appriciated.
Thanks and best regards,