on 05-23-2006 4:06 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.