Hi, I wanted to overwrite the default success-action to use a custom action, so I changed the success-action/module path when I defined the pipeline, like below, but it did not work, every time the default one /MarkLogic/cpf/actions/success-action.xqy is executed. Is there any way to execute my custom action?
I searched the keyword "success-action" in the cpf folder, I found one interesting code in the function execute-transition in internal-cpf.xqy: then ($pipelines/p:success-action)[1], so it seems the code is always getting the p:success-action from the first pipeline - Status Change Handling. (I attached two pipelines into my domain, one is the default Status Change Handling, the other is my pipeline.) <success-action> <module>/custom-success-action.xqy</module> </success-action> Thank you, John
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
