Table of Contents

Search

  1. Preface
  2. Introduction to Data Transformation
  3. Data Processor Transformation
  4. Wizard Input and Output Formats
  5. Relational Input and Output
  6. XMap
  7. Libraries
  8. Schema Object
  9. Command Line Interface
  10. Scripts
  11. Parsers
  12. Script Ports
  13. Document Processors
  14. Formats
  15. Data Holders
  16. Anchors
  17. Transformers
  18. Actions
  19. Serializers
  20. Mappers
  21. Locators, Keys, and Indexing
  22. Streamers
  23. Validators, Notifications, and Failure Handling
  24. Validation Rules
  25. Custom Script Components

Data Transformation User Guide

Data Transformation User Guide

Variables Used for Failure Handling

Variables Used for Failure Handling

VarLastFailure
stores the most recent component failure that occurred in a transformation. For example, it might record an instance of a
Marker
anchor that failed to find the marker text. You can configure a component to write
VarLastFailure
to a user log when a failure occurs. For more information, see Failure Handling.
When you use
VarLastFailure
, the service runs in special mode, which requires about three times more CPU time.
VarServiceInfo
stores the service name, directory location of the user log, and the file name of the user log.
VarLastFailure
and
VarServiceInfo
are structures containing the following nested variables:
Variable
Description
VarLastFailure
>
InternalId
Failure identifier
VarLastFailure
>
Text
Failure description
VarLastFailure
>
Location
Location of the failure in the Script
VarLastFailure
>
AnchorName
Name of the component that failed
VarLastFailure
>
Data
Additional information about the failure
VarServiceInfo
>
ServiceName
Name of the service
VarServiceInfo
>
StandardError
>
StandardErrorDir
Directory path of the user log
VarServiceInfo
>
StandardError
>
StandardErrorName
File name of the user log