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.  How to access a var inside a catch

    Posted 09/12/18 05:51 PM

    Hi,

    I would like to deal with a simple string var (let’s say flagError = 0) and access to this var in the main FAILURE.
    but whatever the value I set in flagError, at the end the var is droped and does not exist anymore.

    What can I do to make this working please ?

    
    flagError = 0
    SEQ-SUCCESS
    SEQ - FAILURE (main)
    
    // Process 1
    SEQ-SUCCESS
    SEQ - FAILURE
    copy file
    SEQ-DONE
    flagError = 1
    Exit with Faliure
    
    // Process 2
    SEQ-SUCCESS
    SEQ - FAILURE
    copy file
    SEQ-DONE
    flagError = 2
    Exit with Faliure
    
    SEQ-DONE (main)
    manage all errors
    BRANCH on flagError
    1 : do something
    2 : do smething else

    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: How to access a var inside a catch

    Posted 09/12/18 05:57 PM

    … if I use Exit from parent, and signal Success, I can have the pipeline content, but I can not enter anymore in the finally block to manage my errors…


    #Integration-Server-and-ESB
    #webMethods