Duplicate Batch Agent(3.1)
Configuration
The Duplicate Batch agent allows duplication control on passed file batches. Each batch will be tested against already stored meta data from batches, to see if they are considered to be duplicates.
Meta data for file batches are kept for a configurable number of days. If the meta data of a batch has been removed, a duplicate of this batch can no longer be detected.
Setting | Description |
---|---|
Profile | A list of all defined Duplicate Batch profiles. All workflows in the same workflow configuration can use separate Duplicate Batch profiles, however it is not possible to map MIM Values with different names via different profiles. The mapping of MIM values regarding Duplicate Batch agent is done in the agent for the entire workflow configuration. In order to appoint different workflow profiles, the Field Settings found in the Workflow Properties dialog must be set to Default. When this is done each workflow in the Workflow Table can be appointed the correct profile. |
Named MIMs | A list of user defined MIMs as defined in the profile. |
MIM Resource | A list of existing MIM values to be mapped against the user defined Named MIMs. |
Logged MIMs | Selected MIM values to be used in duplicate detection message. |
Transaction Behavior
Emits
The agent emits commands that changes the state of the file currently processed.
Command | Description |
Cancel Batch | Emitted if a duplicate is found. |
Retrieves
The agent retrieves commands from other agents and based on them generates a state change of the file currently processed.
Command | Description |
Begin Batch | Removes all timed out detection data from the database cache. |
End Batch | Compares the incoming batch against the ones existing in the database. If a duplicate is found, a cancel mark is emitted and an error message is written in the System Log. If no duplicate is found, the data batch information for the current batch is stored in the database. |
Input/Output data
The input/output data is the type of data an agent expects and delivers.
The agent produces and consumes bytearray types.
MIM
For information about the  MIM and a list of the general MIM parameters, see Administration and Management(3.0).
Publishes
The agent does not publish any MIM resources.
Accesses
MIM Parameter | Description |
User selected | This MIM parameter contains values from selected MIM resources in the Logged MIMs and Named MIMs lists. Read at Start Batch. |
Agent Message Events
An information message from the agent, stated according to the configuration done in the Event Notification dialog.Â
Duplicate batch detected
Reported when a duplicate batch has been identified.