IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  appendToDocumentList: Only last item is getting added

    Posted Fri June 22, 2007 06:20 PM

    I use the appendToDocumentList inside the loop. Only last time is getting appened to the end document list.

    for eg: If the loop contains 3 elements (id = 1,2,3) and if I use appendToDocumentList inside the for loop, I am getting only id=3 after the end of the loop. I should see all the three elements.

    Is anybody having the same problem?


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: appendToDocumentList: Only last item is getting added

    Posted Fri June 22, 2007 06:29 PM

    Are you mapping “toList” in the inputs of the appendToDocumentList? In every iteration, you must map the new output “toList” of previous step to the input “toList” of next step.

    Also check if you are dropping “toList” at the end of the loop, but using it in the input “toList” of appendToDocumentList.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: appendToDocumentList: Only last item is getting added

    Posted Fri June 22, 2007 06:49 PM

    drop the document ,which u are appending to the list, at the end of the loop or right there where u are mapping it to the appendToDocumentList service.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 4.  RE: appendToDocumentList: Only last item is getting added

    Posted Fri June 22, 2007 06:58 PM


  • 5.  RE: appendToDocumentList: Only last item is getting added

    Posted Fri June 22, 2007 08:33 PM

    For future reference, you might want to search the forums before posting your questions. This particular issue has been covered many, many times.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services