You can query TN through the API and extract the Internal ID. The Internal ID is used to uniquely identify each document in TN. Once you have the Unique IDs you want, then you call wm.tn.doc:resubmits and pass in a string array of the Internal IDs.
I’m not sure what the query will focus on, but either processing status or user status should suffice.
HTH
Ray
#webMethods#edi#Integration-Server-and-ESB