webMethods

webMethods

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.  If else and elseif

    Posted Sat January 29, 2022 12:25 AM

    What product/components do you use and which version/fix level?

    10.7

    Are you using a free trial or a product with a customer license?

    What are trying to achieve? Please describe in detail.

    Hi Experts,

    I am creating a DSP and want to do a ifelse then elseif and else. I see there is a %ifvar% and %else% existing. How about for elseif?
    Here is my scenario:

    1. If x=inputValue
    2. elseif x != inputValue
    3. else …

    Is there a way to implement this. Thank you.

    Do you get any error messages? Please provide a full error message screenshot and log file.

    N/A


    #webMethods
    #Flow-and-Java-services
    #Managed-File-Transfer
    #Integration-Server-and-ESB
    #Application-Platform
    #API-Management
    #B2B-Integration
    #webMethods-io-B2B
    #Microgateway


  • 2.  RE: If else and elseif

    Posted Sat January 29, 2022 04:43 AM

    Use ifvar tag 2 times and then use else . Other wise u may go with switch case as well .
    Note : DSP is no more supported I guess by softwareAG .So plan to upgrade your UI .


    #webMethods-io-B2B
    #webMethods
    #Integration-Server-and-ESB
    #Microgateway
    #API-Management
    #Flow-and-Java-services
    #Application-Platform
    #Managed-File-Transfer
    #B2B-Integration


  • 3.  RE: If else and elseif

    Posted Sat January 29, 2022 07:29 AM

    Hi,
    Just to clarify, DSP is STILL supported and quite useful for small administrative/configuration pages.
    However, I would not recommend it for building complex front end applications, especially as it is very easy to host browser based apps by deploying your angular/react apps in a package’s pub directory.

    But it is still documented, supported and loved by me.
    regards,
    John Carter
    Product Manager @ Sotware AG,
    Integration & Microservices


    #Flow-and-Java-services
    #Application-Platform
    #API-Management
    #Integration-Server-and-ESB
    #Microgateway
    #webMethods
    #webMethods-io-B2B
    #Managed-File-Transfer
    #B2B-Integration


  • 4.  RE: If else and elseif

    Posted Wed February 02, 2022 08:10 AM