BOD Preprocessor
A BOD preprocessor is an optional Groovy script you can attach to a BOD mapping layout. This script enables you to transform the data after the inbound BOD XML is parsed. The script runs after the incoming XML is parsed but before the core BOD processor begins standard processing.
You can use preprocessors only to enhance processing for BOD processors that explicitly provide preprocessor support. The HRPersonnel Employee Basic and HRPersonnel Employee Reader Group processors support preprocessors.
When a preprocessor is attached to a core processor, these functions are performed:
- Clean or normalize parsed BOD data before standard processing.
- Transform the parsed data structure using available services.
If a processor does not support preprocessors, these conditions are still met:
- The script is still run.
- You can influence processing flow. For example throw an exception or skip processing based on a value.
- Modifying the core processor's internal object or core behavior is not supported.