Hi Hariom,
outline for correct Try-Catch-Sequence is the following:
SEQ (outer, Exit on Success)
- SEQ (inner1 for Try, Exit on Failure)
- SEQ (inner2 for Catch, Exit on Done)
When inner1 completes without error, it will report Success to outer sequence and inner2 is skipped.
When inner1 fails with an error, it will report Failure to outer sequence and inner2 is executed.
As inner2 is defined as “Exit on Done”, it will complete and report Success to outer sequence.
After that outer sequence is completed so there is no chance for a Finally sequence under outer sequence to be executed.
Anything what should go in the Finally sequence should be placed after the outer sequence.
Regards,
Holger
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB