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.  LIKE Operator

    Posted Tue April 22, 2003 03:25 AM

    Hi,
    In the flow service, I got a variable exceptionString.
    Say, for example, this variable, during runtime, assumes any one of the following
    values.

    1. “Flow exception in processing service”
    2. “Null pointer exception”
    3. “Exception in compareFlow service”
    4. “Guaranteed delivery exeception”

    When exceptionString has “Flow” within its content, the flow will perform some steps and if not, it will perform someother steps.

    Something like the below, I want to achieve using flow service.

    If exceptionStr LIKE ‘%Flow%’ then
    execute step 1
    execute step 2
    Else
    execute step 3
    execute step 4
    End If

    How can I achieve this using wM flow service?

    Your suggestions please.

    Regards


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


  • 2.  RE: LIKE Operator

    Posted Tue April 22, 2003 03:45 AM

    Use a branch for this. Set evaulate-labels to true and then add the following step within branch

    %exceptionStr% == /Flow/ : SEQUENCE
    Step 1
    Step 2

    $default: SEQUENCE
    Step 3
    Step 4


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


  • 3.  RE: LIKE Operator

    Posted Tue April 22, 2003 05:37 AM

    Thanks Rupinder. It works. I was playing with
    %exceptionString% == /Flow/ which did not work.

    Regards
    Jay


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