Using scripting properties

Typically, TotalAgility detects whether a document should be trained by watching the monitored fields and classes. When a monitored field's position changes in Validation, or when a document gets assigned to a monitored class in Document Review, the document is flagged for training.

In advanced situations, the Project Designer may have additional criteria for when to train a document, such as based on the vendor of an invoice. In such cases, the Project Designer can force the training using a script in Transformation Designer.

You can use the following scripting properties.

Property Values Description
CscXDocument.ForceClassificationOnlineLearning

TRUE/FALSE

If set to TRUE, forces the document to be trained.

CscXDocField.TrainingNeeded

TRUE/FALSE

If set to TRUE, allows the trainable locator to identify whether the document should be trained (because the locator has not seen enough samples of that type).

CscXDocField.SuppressTraining

TRUE/FALSE

If set to TRUE, prevents the document from being trained for extraction.

If no field exists with TrainingNeeded=TRUE and SuppressTraining=FALSE, the entire document is not trained.