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.


#TechXchangePresenter
 View Only
  • 1.  Difference between numeric operators

    Posted Thu March 02, 2006 10:18 PM

    Hi All,
    I was curious to know the diff between the usage for the operators to check some condition in a flow service…
    for eg:
    I need a field (Amount)which has to be in between 100 & 199.
    I can use either of the one…

    1. %Amount% >=100 && %Amount% <=199
    2. %Amount%=/[1][0-9][0-9]$/
      Which one should we use for best practice.?

    TIA


    1. 1 ↩︎


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


  • 2.  RE: Difference between numeric operators

    Posted Thu March 02, 2006 10:49 PM

    Choice 1 is the regular option,since this is not a complex condition as best practice standandpoint.But if you want to check amount with no alpha values etc…choice 2 regular expression is the way.

    HTH,
    RMG


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


  • 3.  RE: Difference between numeric operators

    Posted Fri March 03, 2006 06:10 PM

    Choice 1 is much more clear, IMO. There doesn’t appear to me to be any advantage to using choice 2.


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