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. Using the IntelliScript Editor
  7. XMap
  8. Libraries
  9. Schema Object
  10. Command Line Interface
  11. Scripts
  12. Parsers
  13. Script Ports
  14. Document Processors
  15. Formats
  16. Data Holders
  17. Anchors
  18. Transformers
  19. Actions
  20. Serializers
  21. Mappers
  22. Locators, Keys, and Indexing
  23. Streamers
  24. Validators, Notifications, and Failure Handling
  25. Validation Rules
  26. Custom Script Components

User Guide

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

0 COMMENTS

We’d like to hear from you!