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 and distinct variables

    Posted 08/22/12 09:36 AM

    Hey,

    Let me illustrate my problem with a simple example. I have several input variables which I have to (well not only but) put into a StringList. For this I’ve tried this:
    REPEAT (3times, repeat on SUCCESS)
    pub.string.appendToStringList (toList(stringList), from item(%“/^in[1-3]{1}/”%))
    where my params would be: in1, in2 and in3 simple strings. Well this does not work. Would this be possible to do or I’d have to create a JAVA service for this simple problem?
    Thanks in advance.

    Regads,
    Joe


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


  • 2.  RE: loop and distinct variables

    Posted 08/23/12 09:28 AM

    A Java service is way of overhead here. Just map all inputs into the string list simultaneously in one step and use mapping index on the map line.


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