Help with QueryDocumentDelete

Hi, I need a little help with querydocumentdelete. Basically, I want to say that if the document is a certain form, display a message and do not delete the document.

The document is most likely being deleted from an embedded view on a form.

How do you get a handle to the document being deleted with Querydocumentdelete? Since it’s being deleted from a view, I assume I can’t use uidoc, since it isn’t actually open in the UI. What’s the command?

Thanks!

Ben

Subject: Help with QueryDocumentDelete

The document collection (since a bunch of selected documents can be deleted all at once) is available through Source.Documents.

Subject: RE: Help with QueryDocumentDelete

I increased the Max number of concurrent agents (both day and night) and that fixed it. (not immediately, after about a 15 min delay)