Designer 10.7 | webMethods Service Development Help | Building Flow Services | The TRY, CATCH, and FINALLY Steps
 
The TRY, CATCH, and FINALLY Steps
The TRY, CATCH, and FINALLY steps are the webMethods flow language facility for handling failures in flow services.
*The TRY step contains the sequence of flow steps that you want Integration Server to attempt and for which you want to provide failure handling.
*The CATCH step contains the sequence of steps that you want executed in the event the preceding TRY step fails. Often, the CATCH step contains recovery logic.
*The FINALLY step contains logic that Integration Server executes regardless of whether the TRY step succeeds or fails. Often, the FINALY step contains clean up logic that needs to execute regardless of the outcome of the preceding TRY or CATCH steps, such as releasing resources or closing sockets.
For more information about the TRY, CATCH, and FINALLY steps, see Failure Handling in Flow Services Using the TRY, CATCH, and FINALLY Steps.