How to rename a Batch automatically


How to rename a Batch automatically? 


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: 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request



Please sign in to leave a comment.