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.  LOOP when input is NOT an array

    Posted 12/23/04 05:11 PM

    LOOP seems only take “Input Array”, but what if we don’t have an array to loop with? How can we do a loop in WM such as “FOR i=0 to 5” or “DO WHILE i<iStringLen”, etc.?

    Thanks!


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


  • 2.  RE: LOOP when input is NOT an array

    Posted 12/23/04 07:07 PM

    Can you use a REPEAT?

    Create an endless loop with REPEAT (repeat-on=SUCCESS).
    Inside the loop, include a BRANCH condition that will break from the loop (EXIT $loop).


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


  • 3.  RE: LOOP when input is NOT an array

    Posted 12/23/04 07:35 PM

    Hi, Adam, I believe that will work. Thanks for the smart suggestion.


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