Question
How to rename a Batch automatically?
Answer
The batch name could be changed using a Processing script.
It can be added when creating an Automatic batch processing stage in the Advanced mode of the Workflow setup:
In this stage, you can add the script to retrieve and replace the BatchName, for example:
using System;
using System.IO;
Batch.Name = Documents[0].DefinitionName + DateTime.Now.ToString(" HH-mm-ss");
Please check the batch processing stage properties (it should be placed below the Recognition stage):
According to this example, you will obtain the following result (Batch Name is equal to Document Definition Name used and the timestamp).
More information: https://help.abbyy.com/en-us/flexicapture/12/developer/scripts_handling#batchprocessingscript
Comments
0 comments
Please sign in to leave a comment.