Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

to Use first occurrence of ItemLocation only in Target - Advice please

$
0
0

Hi,

 

I am stuck in 1 place in message mapping. I have to Use only the first occurrence of ItemLocation only as detailed below.

Oh I am on PI 7.1.1

Source and Target.JPG

My Target structure is a flat structure.

My current mapping attempt is below-

The If condition gives me the correct match with Item Header and Item Location.

 

Capture.JPG2.JPG

 

The above ID gives me all the 3 occurrences of 3 values from the source side.

 

Tried multiple mappings (collapse / remove and misc) but nothing is giving me the correct result.

 

 

Here copy value 0 always gives me the first itemLocation -> ItemID -> ID

 

For 1st Header Record, it is ok

 

But that is not ok for 2nd Header Record.

 

I have been through the forum but not finding anything that is helping…

Please advice. I am stuck.

 

Regards,

Archana


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>