on 01-20-2015 9:01 PM
Hi Experts,
Below is my input data structure.
ST
-->S_AK1
-->D_28
--->G_SAK2
-->S_AK2
--->D_329
Mapping logic:
If AK2 exists, pass D_329 else pass D_28
I have mapped like this
D_329(context as S_Ak2) ---> exists ---> if (then - pass D_329) ---> Target
else (pass D_28)
The issue is if i send only AK1 data with out AK2, its passing null..can you help on this mapping logic.
Hi Sruthi,
try the below logic
D_329(context as ST) ---> exists ---> if (then - pass D_329) ---> Target
else (pass D_28)
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sruthi,
If occurrence of D_329 is 1:1 or 0:1 then try the below logic
D_329 (context as S_AK2) ---> map with default --> equals blank not ---> if (then - pass D_329 (context of AK2)) ---> Target
else (pass D_28 (context of AK1)
Use split by value before target field.
Now the problem comes when occurrence of AK1 and AK2 is different.
If it is not work then provide your input XML to give you exact mapping.
Thanks,
Harish
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.