How are logs tracked for running a #Batch Executable?
Data Sync Pro tracks batch logs using structured records and optional file-based logging:
- Execution - One per batch job run, linked to the Executable.
- Batch Execution - One per batch within the job, linked to the parent Execution record. If Log to File is enabled, additional details are stored as a JSON ContentDocument, linked to the Batch Execution record.
- Pipeline Execution (if applicable) - When run from a Pipeline, a Pipeline Execution record is created, and the related Execution records are assigned sequence numbers.
This structure enables complete tracking, auditing, and troubleshooting of batch processes.