08-19-2013 10:51 AM
Using the Unity API... is there a way to get the batch ID and batch name of a document that was brought in via DIP?
08-19-2013 11:29 AM
For a single document, right-click and select Properties - the batch number is listed there.
Then go to Processing > DIP and match the ID to the batch name.
To Query for the info, the itemdatapage.batchnum record has the batch number for the doc and the parsed.quie.batchfilename the batch name.
If you provide more detail on the situation, you can probably get a more tailored response.
08-19-2013 11:50 AM
I was hoping to get this information using the Unity API and a Unity workflow script. A backup plan could be to implement a sql query within the script but prefer to use the API.
08-19-2013 02:26 PM
Have you tried the Document.GetBatch() method, Chris? That should suffice for what you want to do.
08-19-2013 02:40 PM
This method only obtains information if the document was scanned though right? If that is incorrect and it also works for DIP batches do you have an example I could look at?
From what I've seen in the SDK the parameter you pass in is BatchType which only has Scan as a member:
The Batch that this document belong to.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.