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.  If(choice.equal("string")) does not work

    Posted 06/19/03 06:16 AM

    Hi,

    I am using the TMS studio v1.1. I created a project with several states (menu, news, sport, etc). From menu state there are transition lines that connect menu to news and menu to sport.
    I created a string object java.lang.String which I called choice to capture user selection (the value of selection is “News” or “Sport”. Then in one of the ‘transition line’ I use ‘If’ action. I need to put an expression, apparently this expression does not behave properly when I use choice.equal(“News”), but when I just use (choice==“News”), it works fine. TMS does not give me any error, it is just giving me false eventhough the value is “News”.

    Anyone know what is the problem with the expression?

    thanks & regards
    Paulus


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: If(choice.equal("string")) does not work

    Posted 06/23/03 05:37 PM

    Hi,
    to be able to reproduce that problem it would be great to have a small example. Could you create one and attach that?

    thanks,
    Waltraud Buettner


    #Tamino
    #API-Management
    #webMethods


  • 3.  RE: If(choice.equal("string")) does not work

    Posted 07/02/03 04:53 AM

    Please see the attached project file.

    thanks & regards
    Paulus


    #Tamino
    #API-Management
    #webMethods