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.  regular expression to find a substring in a string

    Posted 02/12/16 01:08 AM

    Hi,

    I have 2 arrays.
    1)/errorDetailDoc/Events
    2)/ErrorHandlingProperties/properties/ErrorCategory/NetworkException/NetworkError

    I am doing a nested loop, then I should search if the 1st array element contains the 2nd array element.
    Suppose, the 1st array element is :: “we can not find a solution for this”
    the 2nd array element is :: “find a solution”

    To achieve this, I am using a sequence and I am writing the label like:

    %errorDetailDoc/Events/ErrorDump% = /%ErrorHandlingProperties/properties/ErrorCategory/NetworkException/NetworkError%/

    But this is not working.
    Can somebody please help me on this.

    Regards
    Jyoti


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 2.  RE: regular expression to find a substring in a string

    Posted 02/14/16 02:40 AM

    Jyoti – why don’t you use string in-built functions. Please give a try and let me know for any issues.

    Thanks,


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB