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
Expand all | Collapse all

Use a string variable's value in a SEQUENCE flow step's Label property as condition

  • 1.  Use a string variable's value in a SEQUENCE flow step's Label property as condition

    Posted Sun February 25, 2018 11:05 PM

    We’re maintaining a set of regex conditions and what we would like to do is store it in a separate file/table for maintainability purposes instead of having multiple SEQUENCE flow steps for each condition (see attachment).

    Is it possible to read a variable’s content in a SEQUENCE’s Label property when implementing a BRANCH Switch condition? Or are there other ways to implement what we’re trying to do?


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


  • 2.  RE: Use a string variable's value in a SEQUENCE flow step's Label property as condition

    Posted Mon February 26, 2018 09:40 AM

    No, it’s not possible that way. You’ll have to evaluate the regexes by a custom code and build logic around it.


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


  • 3.  RE: Use a string variable's value in a SEQUENCE flow step's Label property as condition

    Posted Tue February 27, 2018 02:05 AM

    Thanks fml, this thread also helped.

    What we used instead is pub.string:lookupTable to house our expressions with the useRegex property set to true.


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