How Inventory Batch Pre-Processing works
Essential knowledgeCore knowledge to understand Fluent Commerce
Intended Audience:
Technical User
Authors:
Girish Padmanabha, Kirill Gaiduk, Holger Lierse
Changed on:
16 Nov 2026
Overview
This document outlines the functionality of Inventory Batch Pre-Processing, offering insights into how unchanged records are filtered during the inventory ingestion process using Inventory Batches.Key points
- Prerequisites: You should have knowledge of Global Inventory, Inventory Batch Pre-Processing, and Workflow Engine
- Efficient Processing: Inventory Batch Pre-Processing handles batch inventory updates before they reach the inventory workflows, streamlining the process
- Change Detection: Identifying inventory records that have changed, ensuring the workflow engine processes only necessary updates
- Performance Improvement: Reduces workflow engine load by filtering unchanged records, enabling faster and more efficient inventory processing
- Enhanced Flexibility: Supports additional fields in batch records, allowing for more precise control and management of inventory updates
Architecture
In traditional inventory update processes, batch updates are split into individual records and added directly to the Inventory Queue for processing. This can be inefficient, especially when many records haven't changed and don't require processing.Batch Pre-Processing introduces a more efficient flow:- Initial Analysis: Instead of immediately processing each record, the system first analyzes the batch to identify which records have actually changed
- Selective Processing: Batch Pre-Processing forwards only the records identified as changed to the Inventory Queue.
- Optimized Workflow: This reduces unnecessary workload on the workflow engine, improving overall system performance and reducing processing time
Components
The Batch Pre-Processing system consists of two main components:1. Loader Job
Purpose: The Loader Job loads existing inventory data from the database. This includes current quantities, statuses, the status of each parent inventory position and any active transient inventory quantities.Function:- Data Gathering: Collects the current state of inventory positions and quantities
- Preparation for Comparison: Prepares data for the Comparison Job to use in determining changes
2. Comparison Job
Purpose: The Comparison Job compares the new batch updates against the existing inventory data loaded by the Loader Job.Function:- Change Detection: Determines whether each inventory update represents a change that needs processing
- Criteria for Change:
- Inventory Quantity Identification
- Inventory Position Status Check
- Quantity and Status Comparison
- Transient Inventory Quantities Check