Batch Control - Algorithms

Use this page to maintain a batch control's algorithms. Open this page using Admin > System > Batch Control and then navigate to the Algorithms tab.

Description of Page

The Algorithms grid contains algorithms that control important functions for instances of this batch control. You must define the following for each algorithm:

  • Specify the System Event with which the algorithm is associated (see the table that follows for a description of all possible events).
  • Specify the Sequence Number and Algorithm for each system event. You can set the Sequence Number to 10 unless you have a System Event that has multiple Algorithms. In this case, you need to tell the system the Sequence in which they should execute.
  • Owner indicates if this is owned by the base package or by your implementation (Customer Modification).

The following table describes the System Events.

System Event Optional / Required Description
Error Post-Processing Optional

Algorithms of this type are called if the batch process fails to complete due to an error. Multiple algorithms are allowed and are executed in sequence order. Refer to Error Post-Processing Logic for more information.

File Upload Optional

Algorithms of this type are only applicable to plug-in driven background processes and are used to upload all records for a file.

This is a single algorithm plug-in spot. If multiple algorithms are plugged into the batch control, the one with the highest sequence is used.

Level of Service Optional

Algorithms of this type are called to determine the Level of Service provided by a batch control. Multiple algorithms are allowed. Refer to Assessing Level of Service for more information.

Post-Processing Optional

Algorithms of this type are called after all threads are complete. Multiple algorithms are allowed and are executed in sequence order. Refer to Post-Processing Logic for more information.

Process Record Optional

Algorithms of this type are only applicable to plug-in driven background processes and are used to process a specific record.

This is a single algorithm plug-in spot. If multiple algorithms are plugged into the batch control, the one with the highest sequence is used.

Select Records Optional

Algorithms of this type are only applicable to plug-in driven background processes and are used to define the SQL to use to select the records to process.

This is a single algorithm plug-in spot. If multiple algorithms are plugged into the batch control, the one with the highest sequence is used.

Note: You can add new system events. Your implementation may want to add additional batch control oriented system events. To do that, add your new values to the customizable lookup field F1_​BATCH_​CTRL_​SEVT_​FLG.