Resubmitting multiple documents in Trading Networks

I’m using Trading Networks(Version 4.6). I want to RESUBMIT a set of
multiple documents at a time, instead of Resubmitting one at a time.

Any help on this will be appreciable.

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

wm.tn.doctype:list lists all the document Types that got persisted in TN. wm.tn.doc:resubmit can be called by looping through the list and passing the types[i]/TypeID to the input internalId .