Skip to main content
Kofax

Get Batch Field Value

Article # 3036805 - Page views: 91

Issue

Get Batch Field Value

 

Solution

The following function gives the value of a Kofax Capture Batch Field:

 

Public Function getBatchField(FieldName,ByVal pXDoc As CASCADELib.CscXDocument) as String
    Dim folder As CscXFolder
    Set folder = pXDoc.ParentFolder
    While Not folder.IsRootFolder
    Set folder = folder.ParentFolder
    Wend
    If folder.XValues.ItemExists("AC_FIELD_" & FieldName) Then
        getBatchField = folder.XValues.ItemByName("AC_FIELD_" & FieldName).Value
    Else
        getBatchField = ""
    End If
End Function

 

To get Batch properties (special values such as Batch Name), please see Scripting Help ¦ Applying Scripting ¦ Accessing Kofax Capture Data ¦ Batch Data.
 

Level of Complexity 

High

 

Applies to  

Product Version Build Environment Hardware
Kofax Transformation Modules

6.3

6.4

     

References

Add any references to other internal or external articles

 

  • Was this article helpful?