B2B Integration 10.4 | Administering and Monitoring B2B Transactions | Service Development Help | Failure Handling in Flow Services Using the TRY, CATCH, and FINALLY Steps | About the TRY, CATCH, and FINALLY Steps
 
About the TRY, CATCH, and FINALLY Steps
 
The TRY Step
The CATCH Step
The FINALLY Step
The TRY, CATCH, and FINALLY steps are the webMethods flow language facility for handling exceptions in flow services. The steps provide flow service authors with the ability to execute a series of steps with the additional ability to provide another series of steps that Integration Server executes if a failure occurs in the initial series, and the ability to specify yet another series of steps that Integration Server executes regardless of whether the initial series of steps succeeds or fails.
The general usage pattern for try-catch-finally is a single TRY step followed by zero or more CATCH steps, followed by zero or one FINALLY steps. CATCH steps can be configured to handle specific failures. The FINALLY step executes a set of steps after a TRY step completes successfully or fails. If a CATCH step executes, Integration Server executes the FINALLY step after the CATCH step completes.

Copyright © 2016- 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release