You might be able to get some or all of what you need by turning on some or all of the trace events for CPF:
http://docs.marklogic.com/guide/cpf/error#id_26638 Be careful what you ask for, though, as these can be quite chatty. -Danny ________________________________ From: [email protected] [[email protected]] on behalf of [email protected] [[email protected]] Sent: Wednesday, November 13, 2013 11:11 PM To: [email protected] Subject: Re: [MarkLogic Dev General] Get document URI's in a CPF pipeline Hi Geert, Thanks for the quick reply. I think in addition to the state, we have to log the pipeline name because same state can be present in two different pipelines. I don’t see any enhancements to the CPF from Version 4 to 7. Let us hope that Mark Logic comes up with some enhancements to the CPF functionality in near future. Thanks, Karthik From: [email protected] [mailto:[email protected]] On Behalf Of Geert Josten Sent: Thursday, November 14, 2013 12:33 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Get document URI's in a CPF pipeline Hi Karthik, No, I am afraid not. CPF relies mostly on two CPF document properties, one for state, one for status. It is the state one you are looking for. Unfortunately, that property is rewritten each time it passes through an action. It could be an interesting extension if CPF would keep a log of all previous states in the properties as well, but the CPF framework itself will need to be changed to be able to apply that to all actions automatically. If you rely on custom actions though, you can do this yourself. Kind regards, Geert Van: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] Namens [email protected]<mailto:[email protected]> Verzonden: donderdag 14 november 2013 7:52 Aan: [email protected]<mailto:[email protected]> Onderwerp: Re: [MarkLogic Dev General] Get document URI's in a CPF pipeline Hi Geert, I want to know which pipes a document went through. I know that we can find this by adding some metadata or properties to the document from our own XQuery code. But, is there any MarkLogic admin function readily available to find out which pipes a document went through? Thanks, Karthik From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Geert Josten Sent: Wednesday, November 13, 2013 6:05 PM To: MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Get document URI's in a CPF pipeline Hi Karthik, Can you elaborate what you mean by that? Do you want to know which pipes a document went through, or do you want to get an overview of which document is in which state? Kind regards, Geert Van: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>gic.com<http://gic.com>] Namens [email protected]<mailto:[email protected]> Verzonden: woensdag 13 november 2013 11:42 Aan: [email protected]<mailto:[email protected]> Onderwerp: [MarkLogic Dev General] Get document URI's in a CPF pipeline Hi, Is there a way to get the document URI’s that are processed in a particular CPF pipeline using MarkLogic built-in functions? Thanks, Karthik This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful.
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
