My partner is sending same PIP document more than once to TN. Even i have duplicate check option in TN xml document on PIP, but its reprocessing the same.
I have checked the duplicate check for normal xml document its not reprocessing.
TN detects that a document is a duplicate, but stiill performs the action specified. Within the service that is invoked by TN, you need to test the variable (I don’t recall the name off-hand) and take the appropriate action based on its value. TN does not automatically ignore/discard duplicate documents. It only identifies them.
we can detect the duplicate document for all Document types even PIP inbound document.
we can detect duplicate document using the Duplicate check option in TN XML Document Type or Processing rule.
Once you receive the document in TN, map internal id of Document to service “wm.tn.doc.getEvents”
This above service will result the output “errorCount”.
If errorCount>0 then write your logic to handle duplicate document or you can send some exception document to your partner using service “wm.ip.trp.trputils.sendException”