cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping (content-based)

Former Member
0 Kudos

Hi,

I do not know how to proceed with a mapping.

I have 1 source message and e.g. 2 target messages.

Within one mapping program (I am using graphical mapping) I want to map a source message to exactly one message of the target messages based on a content of an element within a source message.

e.g.

<SourceMessage>

<name>Peter</name

<surname>Smith</surname>

</SourceMessage>

So if the name element in the source message has a value "Peter", I want to map the source message to the structure of a target message #1. If e.g. the name element has a value "George" then I want map the source message to the structure of target message #2.

It's a kind of content-based mapping, but I do not know how to proceed it.

thank you

Tomas

Accepted Solutions (0)

Answers (1)

Answers (1)

Zilch
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

make a target field mapping for both of the possible target fields, use "equalsS" from the Function Category Text to check the content of the qualifier-field (name) and then "ifWithoutElse" from the Function Category Boolean to map the content or not.

Regards

Rainer