You are not logged in.
i need to read a file and convert the data as schema based on position in that filed (schema) i need to apply some business logic that business logic also available from table(database)
b2=f1 is null f2+f3 or f2 is null f1+f3 or f1+f2+f3
how to acheive this please help me on this.
Thanks and Regards,
You might do this in the component tJavaRow.
output_row.b1 = input_row.f1 + input_row.f2;
output_row.b2 = input_row.f1==null?(input_row.f2+input_row.f3):(input_row.f2==null?(input_row.f1+input_row.f3):(input_row.f1+input_row.f2+input_row.f3))
this is not static business logic it will get change. business logic also need to fech from table(database).
I think it's impossible to finish this requirement... Sorry. It can't be a dynamic job with dynamic business logic.