Hi all,
I’m using AI Document Center (AIDC) extraction models in a process to save extracted data to the database, and I’ve run into an inconsistent behavior between two models.
Scenario
Observed behavior
For Extraction Model A, the Extraction Instance record has:
sourceDocumentId = 46852
documentId = 46856
I delete the document my app knows about (46852). I can still open the Extraction Instance and reconcile without errors, which suggests AIDC is using documentId (46856), not sourceDocumentId.
documentId
sourceDocumentId
For Extraction Model B, the Extraction Instance record has:
sourceDocumentId = 46908
documentId = 46908
When I delete the document from my application (46908), I can no longer open the Extraction Instance. I get an expression error indicating the document is not available or has been deleted. This matches the general behavior that if a referenced document is deleted, any process or interface that tries to load it will fail.
Questions
Discussion posts and replies are publicly visible
sourceDocumentId = document you pass to AIDC (your upload).documentId = document AIDC uses for extraction instance/reconciliation (may be same or derivative).Different when AIDC derives/stores separately; same when it uses your original directly (expected).No way to force separation via config.Don't delete documentId until reconciliation complete; use retention/cleanup afterward.
I delete the document my app knows about (46852). I can still open the Extraction Instance and reconcile without errors, which suggests AIDC is using documentId (46856), not sourceDocumentId.Here, This model A creates document in AIDC so we can delete the uploaded document from our application. however, why Model B is not creating the document in AIDC like Model A and using sourceDocument?