Catching Activity Faults with Scope and Fault Handlers
A scope and fault handler is defined for activities within a process. The handler catches faults that have been triggered within the scope.
If accessing the sample from the Welcome page of TIBCO Business Studio™ for BusinessWorks™, go directly to Step 3.
Procedure
Result
- If the correct location is specified for the MortgageRatesDB.xml file in "INPUT_XML_FILE" Module Property property, the message, The mortgage rate is 3.5 displays.
- If an incorrect location is specified for the
MortgageRatesDB.xml file in "INPUT_XML_FILE" Module Property, the following error message displays:
Caught FNF: < User_Defined_File_Location >\MortgageRatesDB.xml was not found.
The same message is written in a output.log file at C:\tmp\ScopeAndFaultHandler location.
Related tasks
Copyright © Cloud Software Group, Inc. All rights reserved.