beautypg.com

Kofax DOKuStar Validation User Manual

Page 100

background image

DOKuStar Validation for Ascent Capture

Page

96

DOKuStar Validation is opened, and you can modify your scripting code for the batch class you selected in the
Administration module, without having to open a batch. Only the first two steps from above have so far been
executed:

-

The scripting code of the batch class you selected in the AC administration module is loaded.

-

The project is loaded (which leads to the

Application_OnProjectLoaded

event in the scripting code).

Obviously, the third step, loading the data, was not executed, because we did not select a batch so far.

You might now edit your code and then select a batch to try out if your changes work:

This leads to the following:

-

The project that is currently open is closed and the scripting code is unloaded. If you did not save your latest
scripting code changes, you are asked if you want them to be saved.

-

The scripting code is loaded once again.

-

The project is loaded (which leads to the

Application_OnProjectLoaded

event in the scripting code).

-

The data for the batch are loaded (which leads to the

Data_OnDataImported

event in the scripting code).

The unloading/loading of the scripting code ensures that your latest code changes always come into effect. The
unloading/loading of the project ensures that the same things happen as in “real life” (at the Validation client
workplaces) later on (especially: the

Application_OnProjectLoaded

is executed).