I’m trying to develop a service that will Resubmit the TN Documents.
In that service i’m using
wm.tn.query:createDocumentQuery and
wm.tn.query:documentQuery
For the wm.tn.query:createDocumentQuery service, I’m giving only the SenderID, receiverid and timeinterval as the inputs. The problem is i’m not getting any results for these inputs. But if I give the InternalDocId then i’m getting the results.
Is the InternalDocId necessary? the PDF doc says its optional though.
The fields which you see for wm.tn.query:createDocumentQuery are nothing but , the fields which you extract in the extended tab-> Document Type tab in TN. These are the fields you find in transaction log. Try to exract the fiels from your document and the same can be queried in the service wm.tn.query:createDocumentQuery.
If you have other fields to query like senderID, receiverId & document Id ,you donot need to mention InternalDocId.
Have one more query,
The TN Document I’m getting has no timestamp, can i use the “Date Received” as seen in the Transaction Analysis as an attribute, to go with the “attribs” in the input of the wm.tn.query:createDocumentQuery.
In other words can i use the “Date Received” as an Attribute?