I have a requirement which goes as follows:
We need to suspend the transactions of the trading partners whose status is suspended.for this we maintain a flag in our external DB for all the TN profiles.
The flow goes as follows:
1.check the suspended status(invokes an Adapter service which returns an isActive string depending on the status of the TP’s).
2.If suspended,i add a custom attribute(Suspended Trading Partner) to the bizdoc and resubmit it to TN,where it is picked by a processing rule with custom criteria set to “Suspended Trading Partner=true” and does nothing.
At a later point of time,when the Trading Partner’s status is changed to active in the DB,we want to resubmit the transaction.At this point of time,it is throwing duplicate transaction error as the same transaction has already been gone through the TN.
Duplicate checking is enabled in the pre-processing rules.
Can someone tell me how to get rid of this duplicate error when the transaction is resubmitted?