cancel
Showing results for 
Search instead for 
Did you mean: 

mapping for source node 1 to unbounded & target as 0 to 1

abhijitbolakhe
Advisor
Advisor
0 Kudos

Hi

my source is

attribute 1---unbounded

name ....ABC

value ....123

attribute

name -


XYZ

value -


345

attribute

name --- NYM

value --- 678

My requirement is as follows...

If name is XYZ , then pass the value 345 to target node(0...1).

But the mapping is checking value only of the first node and the mapping fails...

Please suggest

Regards

Abhijit

Accepted Solutions (1)

Accepted Solutions (1)

sunil_singh13
Active Contributor
0 Kudos

Abhijit,

Mapping can not fail if the occurence of Target field is 0...1 unless you have some UDF/ Standard function which are throwing exception due to the input they are getting.

Use IfWithoutElse and set the property SUPPRESS as false.

Change the context of source node to the top level.

Thanks,

Sunil Singh

Answers (2)

Answers (2)

Former Member
0 Kudos

Your description of your question if not very clear:

If you post both source and target structure, then others probably can propose, because we do not know your context of target.

This might also cause the parent node is not properly mapped.

Regards

Liang

Former Member
0 Kudos

Hello,

You could change context (right click-context) in your source field,(put in the first level of the structure - attribute) and then continue the condition.

regards,

lpbuff