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.  Variable Substitution

    Posted Thu August 11, 2005 05:20 PM

    Hello All , I am trying to email 15 files to 15 different users . The files are sitting on a server and I am using one flow service for each file which first gets the file ( using client:ftp) then sends as email using pub.client:smtp . I am trying to seek help on finding a better way to achieve this so that I use only one flow service instead of 15.

    Can I use Repeat with count = 15 and to substitute filename and receiver at each iteration . Where the substitution variables are defined and how are they reset with every iteration ?

    Thanks
    Rajesh


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


  • 2.  RE: Variable Substitution

    Posted Thu August 11, 2005 05:32 PM

    First poll the directory for the list of file names in that directory and hold that list in the pipeline… then loop through that list using your service.

    Hope this helps.

    -Dan


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


  • 3.  RE: Variable Substitution

    Posted Fri August 12, 2005 04:19 AM

    If you already know the file names and emails, you can save them into a string table. Then, use it as the input array for the loop service.


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