Resubmitting a Document
When you resubmit flat file documents, consider the following:
Trading Networks needs to know the document gateway service to which to resubmit. Confirm the following with the
Trading Networks user who set up the gateway service:
![*](bullet.gif)
This information must already have been set by the gateway service when
Trading Networks originally received the document. The gateway service must have set the
$receiveSvc variable within the
TN_parms variable in the pipeline (
/Tn_parms/$receiveSvc) to the fully-qualified service name of the gateway service.
![*](bullet.gif)
When you resubmit the document, if
$receiveSvc was set to the gateway service,
Trading Networks invokes that gateway service. If
$receiveSvc was not set,
Trading Networks sends the document to
wm.tn:receive, which does not properly recognize the flat file document. As a result, the sender, receiver, and document type will all be unknown, and the resubmission of the flat file document will fail.
![*](bullet.gif)
When you resubmit a document,
Trading Networks resubmits a new instance of the document. If you edit the resubmitted document,
Trading Networks makes the changes to the new instance of the document; the original document remains unchanged
![*](bullet.gif)
The
Retrieve SenderID from session option in a flat file document type might not work as you expect. The option tells
Trading Networks to use the active user as the sender of the flat file document. When you resubmit, you are the active user, not the original sending partner. As a result, processing might not proceed as you expect. For example,
Trading Networks might not select the processing rule that you expect if it uses the sender criteria because the active user that is designated as the sender is not a partner.
To resubmit a document
1. Address the issue that is causing you to resubmit the document. For example, if the document did not match any defined document type when it was originally received, create or modify a document type definition to match the document when you resubmit it.
2. Search for the document to resubmit (see Finding Documents, Tasks, and Activity Log
Entries). To search for documents that were processed but encountered errors in the recognition process, use the Processing Status query field to search for documents that have the DONE W/ ERRORS processing status. 3. If you need to edit the document, do the following:
a. Click
Click to view details for the document in the search results. b. In the Transaction Details panel, click the Content tab.
c. Click
Show Details for the content part to update. d. Click Edit for Resubmit and edit the file.
4. In the search results, select the check boxes for the documents to resubmit.
5. Click Resubmit.