How to configure a Batch Splitting step to split on a blank value


Version: R76

Article ID: PC000070

How to configure a Batch Splitting step to split on a blank valuemain image

Description

In PaperVision Capture a batch splitting step can be configured to meet one or more of many conditions. In some cases it may be desirable to split a batch based off a blank value within an index field. This can be achieved by using a String Comparison or Regular Expression.

Summary

The following steps should be used to configure batch splitting using a blank value. Note: These steps assume you will be splitting the batch based on an index field called “ExampleIndexField”. The index field should already exist in the job.

To split the batch on a blank value using the String Comparison type:

  1. Setup the Target Job Configuration.
  2. Add a batch split step.
  3. Add a New Condition.
  • The condition source: Capture Index
  • Choose Capture Index: “ExampleIndexField”
  • Choose Comparison Type: String Comparison
  • Leave the drop down on the equal sign “=” and leave the text box, blank.
  • Click Finish
  1. The condition should read (CI.ExampleIndexField = “”)

To split the batch on a blank value using the Regular Expression Comparison type:

  1. Setup the Target Job Configuration.
  2. Add a batch split step.
  3. Add a New Condition
  • The condition source: Capture Index
  • Choose Capture Index: “ExampleIndexField”
  • Choose Comparison Type: Regular Expression
  • Input the Regular Expression which represents any blank space characters: ^\s*$
  • Click Finish
  1. The condition should read (CI.ExampleIndexField RegEx.Match(“^\s*$”)