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 | The FINALLY Step
 
The FINALLY Step
The FINALLY step contains logic that Integration Server executes regardless of whether the TRY step succeeds or fails. The exception to this is when a step contains an EXIT step configured to exit $flow and signal failure. 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.
When executing a FINALLY step, Integration Server executes the child steps in order, one after the other until the entire sequence of steps completes successfully, a step fails, or an EXIT step executes. When a child step fails, Integration Server does not execute the remainder of the FINALLY child steps. Instead, Integration Server exits the FINALLY step with an uncaught failure.

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