Override existing batch class

Existing Functionality

If a batch instance is under processing and user tires to override the batch class, the batch instance goes in Error state.

New Functionality

A switch is introduced for validating if there is any batch instance running during Batch Class Import.

To enable the switch, go to the Application.properties file and change the property value {ON, OFF}.

override_running_batch_validation_enabled_switch=ON

The property value decides if validation is required on the batch class or not.

If the switch is enabled and user tries to override the Batch Class having a running batch instance, the application will show error message and won’t allow to override the Batch Class.

Was this article helpful to you?

wikiadmin