cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

PO7.5 Node functions

PavanJhawar
Discoverer
0 Likes
636

Hi ,

I am using PO7.5. I am new to node functions and need some help.

Say,I have 3 input fields(ip1, ip2, ip3) and one output field(op1).

I want to achieve below functionality with node functions or UDF. Can anyone guide me on this?

If IP1 or IP2 is initial then OP1 = IP3.

If IP1 is not initial and IP2 is not initial then OP1 = concate(IP1, IP2).

Do i need to create Custome function or with simple node functions is it possible?

Thanks,
Pavan.

Accepted Solutions (0)

Answers (1)

Answers (1)

philippeaddor
Active Participant
0 Likes

You can use the standard mapping steps of the graphical message mapping editor, like the "if-then-else" and the "concat", to achieve this easily. Or you write some Java code in a UDF. Whatever you prefer.