I understand your problem.its little bit tricky you need to do.
So try out this way for any list appendings.
In side your loop what ever you are mapping for that particular parameters, just create a temp Record structure which is similar like the originial RecordList structure which you want to append.And do map for the temp Record which u just created ,remember it will be inside the loop
So after u done all the mapping to that temp Record,come out of the loop and invoke appendToRecordList service and
map the temp Record to input fromItem and also map input toList(which is your Original RecordList)
and the output toList will be again the same Original RecordList.
Thats it you have to do…
And test the whole map…
Hope this solves your problem.
Cheers.
#webMethods#Integration-Server-and-ESB#webMethods-General