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.  DSP IFVAR Logical Operators

    Posted Thu February 07, 2008 04:46 PM

    Hello,

    I’m trying to figure how can I use logical operators with the ifvar dsp instruction.

    I mean, AND, OR, etc

    If I try it like %ifvar var AND var2% it doesn’t work

    I wouldn’t like to cascade several ifvar inside one another

    Thank you


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


  • 2.  RE: DSP IFVAR Logical Operators

    Posted Thu February 07, 2008 07:00 PM

    There are no AND or OR tags in DSP. You’ll need to use nested ifvar or switch tags.

    A general approach you might follow is to put most logic into UI-specific services and use the DSP for display only.


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


  • 3.  RE: DSP IFVAR Logical Operators

    Posted Thu February 07, 2008 07:05 PM

    I had the same issue. Here is my solution.

    Create a service and apply your logic there with identifiers
    Invoke the service and apply %swtich% in your dsp.


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