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

mapping requirement.

Former Member
0 Likes
582

Hi Folks,

Here i am facing a problem regarding the mapping in XI. i just like to know whether my requirement is possible in message mapping or not.

my requirement is -


i am having 5 fields under one node on the sender side and 5 fields under one node on other receiver.

its a simple one to one mapping.

the specific condition is that i need to create an element on the receiver side when it is getting some value from the sender side... else the receiver element is not to be created.

even i tried with the mapping as

Sender--->exists--->createif--


> receiver.

but it is not passing the value to the receiver element.

the condition is based on the value......

if we get the value to an element on the sender side then that particuler element on the receiver side need to be created . else dont wnat to create the element at all on the receiver side .

please help me ......

Regards,

Sridhar Dasari.

View Entire Topic
sunil_singh13
Active Contributor
0 Likes

Use Function node CollapsContext now if value does not come it will show [] .

now put if without else (from boolean) if i/p equals [] and then put Not and KeepS = true (it is a property in if without else .just double click on if without else u will see that ) Now u can do the same for other fields also . Now to Consolidate :-

Fld1 ->CollapsContext ->equals-> [] ->Not ->IfWithoutElse(Keeps = true)->out

u canget [] from constant .If Did not get this please revert back .

Reward points if helpful;

Regards ,

Sunil Singh

Former Member
0 Likes

Hi,

Can u pls let me know the exception u r getting.

Have u used thee exact process which i have given u.

use blank value in constant function.

Chirag.