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 Query.

    Posted 12/13/07 10:46 PM

    Hi All,

    Logic:
    If condition matches, i have to continue my process otherwise continue next record of loop.

    Loop over document list

    • branch on condition
    • -YES: (processing logic for current record)
    • -NO: No Processing for this record. and I have to continue next record of document list

    Please advise how to write flow service for the above scenario?

    Thanks!
    Arul


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


  • 2.  RE: Loop Query.

    Posted 12/13/07 11:11 PM

    Exactly as you have it. The YES sequence will do the processing of the current record of the loop. The NO sequence will do nothing. The loop will iterate and move to the next record.


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


  • 3.  RE: Loop Query.

    Posted 05/21/14 12:44 PM

    Hi arulchristhuraj,
    did you solved the problem ?
    I’m new in the Software AG and i’m using webMethods 8.2.
    I’m trying to loop over a list (document list) and to proccess the current record but i’m not able to get the current record.
    Can you help me ?

    Regards


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


  • 4.  RE: Loop Query.

    Posted 05/22/14 01:13 AM

    Hi Fiorald,

    Please share your code.

    Thanks,
    Rankesh


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


  • 5.  RE: Loop Query.

    Posted 05/22/14 08:13 AM

    Hi Rankesh,
    it’s a simple loop test that has as input array a document list reference.
    I want to get the current record during the loop and execute some control operations. Maybe the flow service is not the best way to do that and i should use java service for custom control operations.

    Regards
    Fiorald

    loopTest.zip (2.34 KB)
    Department.zip (853 Bytes)


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


  • 6.  RE: Loop Query.

    Posted 05/23/14 02:18 AM

    Hi Fiorald,

    I guess, you are not aware of loop step of webMethods and its behavior. I request to go through pages [968-969] of http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite9-6/Designer/9-6_Service_Development_Help.pdf

    In short, when you loop a List, record is available in child branch of loop starting element 0. More in attachment.

    HTH.

    Thanks,
    Rankesh


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


  • 7.  RE: Loop Query.

    Posted 05/23/14 01:16 PM

    Hi Rankesh,

    thank you for your help

    Regards


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