Handling global cache exceptions in a graphical data map
Add a Cache Failure transform to your Cache transform group to handle exceptions that might be raised as a result of a Cache transform.
Before you begin
- Create a graphical data map by using the Graphical Data Mapping editor. For information, see Creating a message map.
- Add a Cache transform to the graphical data map; see Accessing a global cache by using a Mapping node.
About this task
If you want a graphical data map to handle exceptions that are returned as a result of a Cache transform, instead of stopping the map, you can add a Cache Failure transform to the Cache transform group. The Cache Failure transform is an optional transform in each of the Cache transform groups, and can be added or removed as required. If an exception is raised by the Cache transform, and you did not add a corresponding Cache Failure transform, the map operation is stopped and the exception is passed by the Mapping node to the message flow, where it can be caught by a TryCatch node or passed to the input node.
To add a Cache Failure transform to a Cache transform group by using the Graphical Data Mapping editor, complete the following steps:
Procedure
Results
You added a Cache Failure transform to a Cache transform group in your graphical data map and configured the Cache Failure transform to handle exceptions that are returned by the Cache transform. If you want the execution of the map to stop when the Cache transform receives an exception, remove the Cache Failure transform from the Cache transform group.