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
Expand all | Collapse all

getLastError - > %lastError/pipeline% is not carrying pipeline values after geting exception

  • 1.  getLastError - > %lastError/pipeline% is not carrying pipeline values after geting exception

    Posted Thu September 27, 2018 01:53 AM

    Hi Guys,

    I’m getting this wierd behaviour of IS where after encountering the error in the flowservice, when catching the getLastError there is no pipeline data from the Try block.

    I can clearly see several variables and documents present in the pipeline before the control goes inside Catch block. But after stepover to getLastError the pipeline details are not there I can see other error fields present.

    Any suggestions ?

    Regards,
    Ashwin


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


  • 2.  RE: getLastError - > %lastError/pipeline% is not carrying pipeline values after geting exception

    Posted Thu September 27, 2018 03:14 AM

    Strange, I think you might have to check the java service in your screenshot if that is doing something to the pipeline data. Try disabling it and make any step in try sequence to fail and see if the pipeline in get last error shows up.


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


  • 3.  RE: getLastError - > %lastError/pipeline% is not carrying pipeline values after geting exception

    Posted Fri September 28, 2018 05:49 AM

    Could you please check if the service is invoked as part of a transformer?


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


  • 4.  RE: getLastError - > %lastError/pipeline% is not carrying pipeline values after geting exception

    Posted Wed October 03, 2018 06:59 AM

    @Mahesh,

    There is nothing done to the pipeline data. FYI, the error is inside the Map transformation. Even the manually induced error in the Try sequence is not carrying Pipeline data to Catch sequence.

    @Sasanka,
    You mean the transformer inside the Map ?


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


  • 5.  RE: getLastError - > %lastError/pipeline% is not carrying pipeline values after geting exception

    Posted Sat October 06, 2018 10:08 AM

    Can you share the screenshots of your flow service mainly the MAP step with the pipeline in and out snaps?


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


  • 6.  RE: getLastError - > %lastError/pipeline% is not carrying pipeline values after geting exception

    Posted Mon October 08, 2018 04:54 AM


  • 7.  RE: getLastError - > %lastError/pipeline% is not carrying pipeline values after geting exception

    Posted Sat October 13, 2018 09:40 AM

    The flow service looks good, can you try divide ints (divide by zero) and make sure main is set to success, try to failure and catch to done.

    If still the same issue then it might be a product bug or something, try reproducing the same on your local IS and check.


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


  • 8.  RE: getLastError - > %lastError/pipeline% is not carrying pipeline values after geting exception

    Posted Mon October 15, 2018 05:49 PM

    One possible reason is the pipeline is empty when error occurred. I could see error occurred in service ODD_OPMS.ODD_JavaService:ScopeFlag_javaService, and I didn’t see it in screen shot. I guess it’s in the first MAP step. Could yo u provide the screen shot of MAP step which contains that service?


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


  • 9.  RE: getLastError - > %lastError/pipeline% is not carrying pipeline values after geting exception

    Posted Mon October 15, 2018 07:16 PM

    As a troubleshooting approach, how does it behave if the service being called via transformer is invoked instead of via transformer?


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


  • 10.  RE: getLastError - > %lastError/pipeline% is not carrying pipeline values after geting exception

    Posted Wed December 19, 2018 04:33 AM

    Sorry for late reply… Root cause found… Its the behavior of Map step. The transformations called within the Map step should not throw any error or exception. The pipeline is destroyed here. Its weird, i think software Ag should change this behavior of Map step…


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


  • 11.  RE: getLastError - > %lastError/pipeline% is not carrying pipeline values after geting exception

    Posted Wed December 19, 2018 04:37 AM

    If the output is mapped in transformer service then it should go to catch block and it will return the lasterror document.

    Did you try?


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