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
  • 1.  Branch with Evaluate as True

    Posted Mon January 28, 2019 10:19 AM

    Hi,
    I have two fields .
    Field1 can have “NULL” as value and for instance “Val1”
    Field2 can have “=” or “!=”

    In One branch I want to test case when Field1 = “NULL” and Field2 = “=”.

    My branch is evaluate as True. That is ok

    But my sequence label, I don’t know how to write.
    I test %Field1% == NULL && %Field2% == =
    But it doesn’t work. I guess I need to escape the = sign in expression but I dont know how we dot this


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


  • 2.  RE: Branch with Evaluate as True

    Posted Mon January 28, 2019 02:25 PM

    Hi Vital,

    this depends if it is real text “NULL” or just null value represented by $null.

    Branch should be configured as “Evaluate Labels”.

    Either
    %Field1% == “NULL” and %Field2% == “=”
    or
    %Field1% == $null and %Field2%== “=”
    should do the trick depending of type of Text for Field1 you are expecting.

    Regards,
    Holger


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


  • 3.  RE: Branch with Evaluate as True

    Posted Thu January 31, 2019 04:06 AM

    It is a real null value.It’s not that which doesen’t work.
    Just the branch with test on =


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


  • 4.  RE: Branch with Evaluate as True

    Posted Thu January 31, 2019 02:04 PM

    Hi Vital,

    eventually you will have to enclose the %Field2% with double qoutes.

    I.e.
    “%Field2%” == “=”

    Regards,
    Holger


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