Skip to Content
0

UDF for if then else for multiple fields

Jul 06, 2017 at 05:02 PM

53

avatar image
Former Member

Hi Experts

My requirement is ... Taregt Root2 should exist if fieldA or fieldB exist(only onefield exist) in source and howmany times they exist, those many times target Root2 should exist in Target. fieldA or fieldB values should pass to fieldA at target under Root2. I have tried with standard functions (exist,if then else etc), I am not getting the output. Can anyone suggest UDF code.

Source:

<Root1>

-<Root2>

--<fieldA>0..unbound

--<fieldB>0..unbound

Target:

<Root1>

-<Root2>0..unbound

--<fieldA>0..unbound

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raghuraman S Jul 07, 2017 at 07:57 AM
0

Duplicate the target node and try the below logic.


untitled.png (43.1 kB)
Share
10 |10000 characters needed characters left characters exceeded