Plug-In Driven Batch Components
For those unfamiliar, a plug-in driven batch is a batch control defined with a the Java class com.splwg.base.domain.batch.pluginDriven.PluginDrivenGenericProcess. This class orchestrates the execution of a Select Records plugin spot and a Process Records plug-in spot which mimic the functionality typically found in the Java based batch controls.
To leverage this type of batch for a data fix we will use the select records plugin spot to identify the records that require fixing and use a plug-in script (Groovy is also possible) to perform the fix. This will leverage the following:
1. A batch control (using F1-PDBG as a template)
2. A Select Records plug-in script (algorithm)
3. A Process Records plug-in script (algorithm)
Optionally you can either use Database Actions or Analytics Publisher to define a zone for testing the query if you are working in a cloud environment.