Batch Execution

Introduction

The File Upload API uploads the transaction file from the source system and creates a Batch instance using the Batch configuration and the corresponding Schedule. Once the Batch is created and the source file is uploaded, the Timer triggers the corresponding Batch configuration that is due for execution as per its associated Schedule. See Uploading File to Batch using API for understanding the features of the API.

When the Batch processing is initiated, the system performs a set of validations to assess if the Batch is ready for processing. In case of a Batch that is designed to start execution only if its previous instance execution was successful, note the following points:
  • For a Batch to begin execution, the last instance of its dependent Batch(es) must be successfully executed.
  • If the previous instance of Batch Execution resulted in an error, then re-execute the failed instance (and subsequent ones) and ensure that they complete successfully, before proceeding with the current one.
Once the validations are successful, the Batch Executor triggers the execution of the processes within the Batch.