Data Transformation Engine Map Designer Reference Guide
Chapter 5 - Card Settings SourceRule Input Card Settings
Map Designer Reference Guide
88
OnFailure
The OnFailure setting specifies the location of the source data if the map, burst,
or card does not successfully complete.
Note The exact meaning and availability of the options for this setting is adapter-
specific. See your adapter documentation for more information.
The OnFailure setting works with the Scope setting, which defines when to apply
the action specified with the OnFailure setting.
Value Description
Rollback Any changes made during map processing are rolled back
and the original state of the data is restored.
If the map, burst, or card does not complete successfully,
rollback any changes that were made to the source data
during map execution.
For example, if the source of the input data was a stored
procedure in a database that changed the contents of one
or more tables, such as with an INSERT or UPDATE
statement, if the map fails, the Rollback option would
restore the affected tables to their original state.
Commit If the map, burst, or card does not complete successfully,
commit any changes that were made to the source data
during map execution.
If the map fails, send the message produced for the
output card to the specified message queue.
For example, if the source of the data was a message on a
message queue and the message is removed from the
source message queue, regardless of whether the map
succeeds or not.