The copy is independant from the source document

However, according to AbstractSession#copy, the copy
document has an information in its audit trail, indicating
it was "created by copy".

So you can query the audit with the id of the current
document to find if there is an event whose action is
"Created by copy"

Look at nxp_logs table in your database to have the exact
message
---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/

Reply via email to