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.  Null Values In loop output array.

    Posted Fri March 15, 2013 06:09 AM

    Hi,
    Im quite new to webMethods and im currently facing a problem with which i need your help.When i try to get the data from the database and put it through a loop and filter it using branch…the output array is filled with null in the fields that do not satisfy the branch condition.

    My second problem is that when i remove the output array from loop property and try using appending to documentList, i only get a single document as my ouput at the end of the loop.how do i get the details of all the members who have satisfied the branch condition into my documentlist and how do i remove the null values from the output array when i use the output array property field.your help appreciated.


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


  • 2.  RE: Null Values In loop output array.

    Posted Fri March 15, 2013 10:04 AM

    Define two document (ref) lists for both input and output array before invoking the loop…

    Use appendToDocumentList service to concatenate all your satisfied data. Pass the output array (declared first) to itemList, and actual document to item. You should see array of output after loop completes its execution…

    -Senthil


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


  • 3.  RE: Null Values In loop output array.

    Posted Fri March 15, 2013 08:43 PM

    Be sure the drop the item variable in each loop iteration.


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