Designer 10.5 | webMethods Service Development Help | Failure Handling in Flow Services Using the TRY, CATCH, and FINALLY Steps | About the TRY, CATCH, and FINALLY Steps | The TRY Step
 
The TRY Step
The TRY step contains the sequence of flow steps that you want Integration Server to attempt. The TRY step contains the logic for which you want to provide exception handling via a CATCH step and cleanup work via a FINALLY step. When executing a TRY step, Integration Server executes the child steps in order, one after the other, until the entire group completes successfully, a step fails, or an EXIT step executes. When a child step fails, Integration Server does not execute the remainder of the TRY child steps. Instead, Integration Server exits the TRY step. If the TRY step has an associated CATCH step that matches the exception, then Integration Server executes that CATCH step. Integration Server subsequently executes any FINALLY step associated with the TRY step.