The best way is to use the commandline utility, which provides the option to resubmit based on many criteria such as
- Date range
- Message status
and many More
You can also use the exclude criteria to filter the resuts
For ex. resubmit all the message in last one day with the message status as MSG_ERROR, excluding the DocType=997
thanks you very for the reply.
But we want to integrate this resubmit capability of B2B with another system, so that we can use that tool to activate resubmit. The InstanceMessageUtil does not expose any API method for resubmitting a message. I guess one could think of manipulating the Java class exposed through the command tool to achieve this purpose as well.
Do you or does anyone have any suggestion how we can programmatically use the command line tool Java class for resubmitting messages?