Rob,
I posted on advantage, but no response there. After discussing the matter with support, when dropping into the L1 loop, the L1 segment was still represented as a record list in the pipeline. This is why the mapping didn't take place. The suggestion was that the schema I was using in convertToValues didn't match the input data. I can't see how this is the case. Then I thought perhaps my flow processing is flawed (being my first attempt at mapping an EDI transaction in IS, this is a logical assumption). However, I am unable to correct it after various attempts. I have a mapping for the N9 segment also inside the LX loop which is done the same way, It works fine. (further puzzling me) The work around for now was to "hardcode" the schema in the input pipeline with a record instead of a record list for the L1 segment and all maps well. I have to live with this for now to make a date. The logic is a s follows:
Loop over ST/LX
Loop over ST/LX/N9
MAP
Loop over ST/LX/L1
Map
Both N9 and L1 have multiple occurances in the data and are represented as record lists in the schema, the N9 map works, the L1 map does not because the L1 in the pipeine is still represented as a record list rather than a record. Am I missing something? Any suggestions?
#edi#webMethods#Integration-Server-and-ESB