Skip to main content
Kofax

Determine If Data Is Saved When Suspending A Batch

3018622

Question / Problem: 

In a Validation Script, is there a way to determine if a user saved the entered data when suspending a Batch?

Answer / Solution: 

This can be determined by checking the "DataAccepted" flag in the DocumentPostProcessing event as shown below:

Private Sub test_DocumentPostProcessing(sender As Object, e As PostDocumentEventArgs) Handles Me.DocumentPostProcessing
     If e.DataAccepted = True Then
         MsgBox("Data Accepted")
     Else
         MsgBox("Data Not Accepted")
     End If
End Sub

Applies to:  

Product Version
CAPTURE 10.0
  10.1
  10.2
  11.0