> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Batch parameter change

> Reference for the Batch parameter change event script in ABBYY FlexiCapture, launched before a batch property such as name, type, or priority changes.

## What it does

The handler of this event can be used for formatting some of the batch properties.

## Properties

* Batch type (name of the batch type)
* Batch name
* Batch description
* Value of the registration parameter
* Batch priority (in form of a string). For the list of admissible values, see the description of the [TProcessingPriority](/flexi-capture/appendix/scripts/tprocessingpriority-appendix-scripts) object.

## When it is launched

The script is launched prior to changing a batch property.

<Note>
  This script does not allow specifying a new value of the batch type.
</Note>

## Parameters

| **Name**             | **Type**                                                                               | **Access**                                                                                                                          | **Description**                                                                      |
| -------------------- | -------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| Batch                | [IBatch](/flexi-capture/appendix/scripts/ibatch)                                       | Read-only. Internal[\*](/flexi-capture/appendix/scripts/batch-modify#asterisk) fields of batch documents and pages are unavailable. | The batch whose property is being changed                                            |
| PropertyModification | [IPropertyModificationInfo](/flexi-capture/appendix/scripts/ipropertymodificationinfo) | Read/write.                                                                                                                         | Stores information on the property being changed. Allows substituting the set value. |

<a id="asterisk" />\* - The internal field requires loading the object into memory.
