PreClassify
This event triggers before any defined classification method executes by the Cedar
project. During this event, it is possible to apply an existing name of a
DocClass to the workdoc.
Syntax
ScriptModule_PreClassify (pWorkdoc as SCBCdrWorkdoc)
| Parameter | Description |
|---|---|
| pWorkdoc | Workdoc object to classify. |
Sample Code
Private Sub ScriptModule_PreClassify(pWorkdoc as SCBCdrWorkdoc)
If ( DoSomeMagic(pWorkdoc) = TRUE ) then
'assign "Invoice" as result of the classification
pWorkdoc.DocClassName = "Invoice"
else
'do nothing and continue with normal classification
end if
End Sub
