webMethods

webMethods

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.  Branch on condition

    Posted Wed June 01, 2011 07:52 AM

    Hi All

    I need to do some mappings when the input is not equal to 0-100.
    Can any of you please let me know what is the expression i need to use?

    Thank You!


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


  • 2.  RE: Branch on condition

    Posted Wed June 01, 2011 03:18 PM

    branch on Did i really try to find a solution ( evaluation labels -false)
    – true
    — result found !


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


  • 3.  RE: Branch on condition

    Posted Thu June 02, 2011 05:37 AM

    Hello…

    Set lables to true and use the expression


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


  • 4.  RE: Branch on condition

    Posted Thu June 02, 2011 04:00 PM

    That will not work. The brackets are used to define a set of characters to match (or with the ^ prefix indicate non-match characters). It will not evaluate a range of numeric values.

    Also, using regular expressions in a label does not require to set “Evaluate labels” on the BRANCH step to true.


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


  • 5.  RE: Branch on condition

    Posted Thu June 02, 2011 07:47 PM

    Hi All

    Thank You for the replies. This expression [^0-100] did nto work.

    I used the below expression in branch %input%>0 && %input%<100 and a default step below it to take care of the mappings when the input is not equal to 0-100

    Thanks


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


  • 6.  RE: Branch on condition

    Posted Fri June 03, 2011 04:28 AM

    thanks Remon I didn’t try on it…i thought that it wil work…


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