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.  Branch bug in dot (.) character

    Posted 09/15/22 11:25 PM

    Hi guys,

    I have a problem,
    i want to validate 2 string number whether they are the same or not, but when 2 same number are compared but the other 1 numbers has a dot(.) character, the result will still be the same, is this a bug on the branch? and what is the solution?

    for example,
    string1 = 123.
    string2 = 123

    Branch = true
    %string1% != %string2% output not same
    else
    default output same


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


  • 2.  RE: Branch bug in dot (.) character

    Posted 09/16/22 01:57 AM

    @dimas.prayogo ,
    A couple of thoughts

    • To compare two strings, you can use the public service pub.string:compareStrings,
    • Is there any specific reason why you need a branch step? ( Is there a performance improvement that is observed)
    • What are the properties being set in the Branch step and the specific child map steps ?

    -NP


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


  • 3.  RE: Branch bug in dot (.) character

    Posted 09/16/22 02:31 AM

    HI, Nagendra

    Thanks for your help.

    • Is there any specific reason why you need a branch step? ( Is there a performance improvement that is observed)

    nothing, I’m just looking for a way how to compare the strings

    Thanks,
    Dimas


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