[MarkLogic Dev General] prevent CPF updated doc from getting into CPF

Mihir Das mihir.kumar999 at gmail.com
Sat Mar 17 05:55:47 PDT 2012

Hi All,

I have a CPF pipeline in which whenever document is created/updated it
enters into intial state and goes through each CPF steps.Now, i wanted to
update the existing content based upon the incoming content.

e.g if A doc arrives then update A&B doc & when B arrives then update A&B.

this drives me into some infinite loop.e.g A status=created , B
status=updated then B as its staus is updated it enters into pipeline B
status = created , A status=Updated and the loop goes on!!

is there any way to stop the pipeline updated doc from entering into
pipeline again? i have tried using cpf:document-set-processing-status=done
& cpf:document-set-state=final but its throws error of multiple update
conflict. As i have performred
(node-replace,Set-processing-status,set-state) on B. but if i do
(node-replace,Set-processing-status) then it doesn't throw error but B
again enters into pipeline as active status.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20120317/e3ff645e/attachment.html 

More information about the General mailing list