On Mon, 17 Mar 2014, Pedro Miguel Paiva Gaudencio wrote:
> I tried Tibor's approach, but the thing is that bibupload delays the
> records...I mean, the recid would be successfully assigned after the
> record is created (in theory), but since bibupload/bibsched schedules
> their insertion, they stand waiting on queue and when I query the last
> record inserted it usually isn't the last submitted one.

A post-upload hook would take care of updating record ID <-> SIP
relationship in this approach.  Kind of like "bst_send_email.py" takes
care to email the original submitter of a document only after the record
is fully ingested.

Best regards
-- 
Tibor Simko

Reply via email to