Testing Runtime Script Events window
You can define application and content related events on project class level. All-purpose extraction scripts for field extraction and field validation methods are performed when classifying or extracting test documents.
However, application and batch related events are not performed. Instead, you can use this window to configure the event
you want to test in the hierarchical view of a test subset and run the inserted script code by clicking
.
You can configure content or application related events by selecting one from each of the following:
- Module
-
This is the name of the module that runs the script event. Select one of the following:
-
Transformation Server Step 1
-
Document Review
-
Transformation Server Step 2
-
- Event
-
Select one of the following events:
-
Application_InitializeScript
-
Application_InitializeBatch
-
Batch_Open
-
Batch_Close
-
Application_DeinitializeScript
See the Scripting Help for more information about these script events.
-
- Close Mode
-
This option is only available when you are testing the Batch_Close event. If you are testing the Batch_Close event, you need to choose one of the following options:
-
Final - select this option if you have configured the Batch_Close event to run when processing of the batch is finished.
-
Suspend - select this option if you have configured the Batch_Close event to run when a batch is suspended.
-
Error - select this option if you have configured the Batch_Close event to run when a batch has an error.
-
Child - select this option if you have configured the Batch_Close event to route documents to a child batch.
-
Parent - select this option if you have configured the Batch_Close event to route documents to a parent batch.
-
In addition to the common Transformation Designer buttons, the following buttons are provided:
- OK
-
This button saves the configured settings for the application and batch event that is executed when the Test Runtime Script Events button is selected from the toolbar.
See the Scripting Help for more information about the ScriptExecutionMode and the CloseMode.