Hi Mahesh,
We’re working on a doc update that did quite make it into the initial 10.3 release.
getLastFailureCaught is meant to be used primarily inside a catch block. It returns information about the last failure that was caught. It remains set until another failure is caught somewhere else in the Flow. It provides capability similar to the variable specified in the catch clause in Java.
getLastFailureCaught only returns information about failures that have been caught. getLastError returns information about the last invoked service that failed but doesn’t return information when an exit with failure from $parent is executed. getLastFailureCaught returns information about any failure that is caught and it includes a reference to the failure (getLastError does not).
getLastFailureCaught was introduced so that the existing behavior of getLastError could be preserved so that existing usages would not break.
Bernie
#webMethods#Integration-Server-and-ESB