[MarkLogic Dev General] prevent CPF updated doc from getting into CPF
mihir.kumar999 at gmail.com
Sat Mar 17 05:55:47 PDT 2012
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...
More information about the General