I am a licensed customer running webMethods Integration Server 10.5
I’m writing my first flow using the TRY and CATCH instead of the old SEQUENCE-based error handler.
In my CATCH block, I call pub.flow:getLastFailureCaught. The service output signature has an object variable named “failure”. In Designer, when I debug step over pub.flow:getLastFailureCaught, or when I run the service with a forced error so the CATCH block and pub.flow:getLastFailureCaught are executed, I see “failure” as a document variable in the Results. However, when I try mapping failure to a document so I can pull some of its contents for error reporting, it doesn’t map and all I get are $nulls.
How can I access the content of the failure variable in my CATCH block?
For example - in my CATCH block I mapped object failure to document failureDoc:
My Results of running this service show a document called failure, but no failureDoc: