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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Splitting documents in documentlist

    Posted 07/30/08 12:06 PM

    hi,
    i need to split a document list into two halves and copy it to another document list . can you plz help.


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


  • 2.  RE: Splitting documents in documentlist

    Posted 07/30/08 01:27 PM
    1. Initialise 2 doc lists, say OutA and OutB.
    2. Define the boundary where you need to cut your list.
    3. Loop over it.
    4. AppendToDocList until it reaches the boundary. Map it to OutA.
    5. keep appendingToDocList till the end. Map it to OutB.

    Now you have 3 lists. Keep which ever you need and delete the rest.

    This is one of the ways to do it.


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