Mapping Problem

Hi All,

Ia’m new to webMethods. we have a scenario where i need to pull data from the database which contain “n” records and i need to get the element in the first record and the element in the last record. Could you please help me in this issue. I’am looping over the “results” doc list so that i can map the element in the first record but could you please help me how to map the element in the last record. With these two elements as input i have to pull the data from other database.

Thanks in advance

You may try using pub.list:sizeOfList to determine the nth record.

Regards,
San

Did it help? Are you still facing problems with this part of your project? If yes please post what you are trying to accomplish and the problem faced in detail.

Regards,
San