To create your batch definition, specify the table and any filter criteria you want used to identify the appropriate records. Define the number of records and maximum time to wait until the batch begins processing, as well as the logic block which should be applied.

For example, you could create a batch definition which filters for records in a table with a status of Ready for Batch Processing. Then, you can specify which logic block should process those records once 1000 records matching the filter criteria exist, or once the maximum time of an hour has elapsed. 

Each batch definition also must contain an identifier field on the table. Records included in a batch are assigned the same identifier value which is referenced in the processing logic block. 

Once the batch definition is created, system administrators create a record in the Record Batch Setup application to debug, activate, and run the batch definition. Learn more in Record Batch Setup application.