Hi Tim, Yes, adding a document to a collection would fire an update trigger because adding a collection is an update.
What you could do is have the updates that add a collection put the document into some state that, when triggered, would have an action that is a noop. -Danny From: [email protected] [mailto:[email protected]] On Behalf Of Tim Sent: Tuesday, August 20, 2013 8:22 PM To: 'MarkLogic Developer Discussion' Subject: [MarkLogic Dev General] Does adding a document to a collection trigger a CPF domain? Hi Folks, I have some documents in a directory URI with a CPF domain tied to trigger actions whenever a document is inserted or updated in that directory URI. I would like to add the documents in this directory URI to a collection (which is more like adding a collection to the document). Will this trigger the CPF actions even though I'm not changing any content in the document? Thank you! Tim Meagher
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
