on 06-07-2016 10:02 PM
I have problem to get my "if condition" works in the PI message mapping.
The scenerio is that a segment can occurs many times.
In this segment, there are two fields "@type" and "IsoCountryCode" at the same level.
The values can be:
<@Type>physical</address type>
<IsoCountryCode>US</IsoCountryCode>
<@Type>remitto</address type>
<IsoCountryCode>US</IsoCountryCode>
<@Type>fulfillment</address type>
<IsoCountryCode>US</IsoCountryCode>
I tried to achieve the following simple logic but I just can not make it work.
If @type = "fulfillment" and IsoCountryCode = "US" then set the KTOKK = 'Z001' in the target.
All other conditions, set the KTOKK = 'Z007' in the target.
I tried to use the "And" and 'If" but I just can not make it work, either.
Thanks in advance!
Fisher
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fisher,
In your second screenshot, output queue is perfect. Please add split by value after the if output and test. This should work, because occurrence of output field is 0.1.
regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
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.