Ok got it, I was missing to attach Status Change Handling pipeline
From: [email protected] [mailto:[email protected]] On Behalf Of Singh, Gurbeer (CPT) Sent: Monday, August 19, 2013 5:34 PM To: [email protected] Subject: [MarkLogic Dev General] Issue with creating new pipeline I have created a new pipeline , and set its domain scope to "", when I am submitting docs in this folder , it not picking up by pipeline code , below log I got in finer mode LOGS 17:27:26.343 Config: Wrote /d/vi5tas01/d1/MarkLogic-Data/groups.xml 2013-08-19 17:27:26.343 Config: Loading /d/vi5tas01/d1/MarkLogic-Data/groups.xml 2013-08-19 17:27:26.347 Config: Loading /d/vi5tas01/d1/MarkLogic-Data/clusters.xml 2013-08-19 17:27:26.347 Config: Loading /d/vi5tas01/d1/MarkLogic-Data/hosts.xml 2013-08-19 17:27:26.347 Config: Loading /d/vi5tas01/d1/MarkLogic-Data/server.xml 2013-08-19 17:27:26.347 Debug: Setting trace events for group 11935365752435792249 2013-08-19 17:27:26.348 Debug: Trace events activated flag is false 2013-08-19 17:27:26.348 Debug: Setting audit configuration for group 11935365752435792249 2013-08-19 17:27:26.348 Debug: Audit enabled flag is false 2013-08-19 17:27:41.671 Info: qaPolicyPortalhttp: [$documentId] returning /initialState/1702386.doc 2013-08-19 17:27:41.674 Finer: qaPolicyPortalDB 2258594817852170850 processing xdmp:document-insert("/metaData/1702386.xml", document{<docMetadata xmlns:fwp="http://morganstanley.com/firmwidePolicy"><fwp:solutionId>1702386</fwp:solutionId><title>Testsdsd</title><...</docMetadata>}, (), (), 0) 2013-08-19 17:27:41.674 Fine: qaPolicyPortalDB 2258594817852170850 replacing document /metaData/1702386.xml 2013-08-19 17:27:41.737 Debug: InMemoryStand /d/vi5tas01/d1/MarkLogic-Data/Forests/qaPolicyPortalForest/0000004f, disk=30MB, memory=1310MB, list=1024MB, tree=256MB, rangeIndex=16MB, reverseIndex=16MB 2013-08-19 17:27:41.740 Finer: qaPolicyPortalDB 2258594817852170850 processing xdmp:document-insert("/initialState/1702386.doc", binary{"d0cf11e0a1b11ae1000000000000000000000000000000003e000300feff090006000000000000000000000002000000d80000000000000000100000da000000..."}, (), (), 0) 2013-08-19 17:27:41.740 Fine: qaPolicyPortalDB 2258594817852170850 replacing document /initialState/1702386.doc 2013-08-19 17:27:41.741 Fine: qaPolicyPortalDB 2258594817852170850 updating properties for /initialState/1702386.doc 2013-08-19 17:27:41.742 Fine: qaPolicyPortalDB 2258594817852170850 updating properties for /metaData/1702386.xml 2013-08-19 17:27:41.805 Finer: PreCommit Trigger: uri="/ms/dist/ccda/PROJ/marklogic/qa/Modules/MarkLogic/cpf/triggers/on-update.xqy" 2013-08-19 17:27:41.808 Fine: qaPolicyPortalDB 8553393163517719340 updating properties for /initialState/1702386.doc 2013-08-19 17:27:41.840 Finer: PreCommit Trigger: uri="/ms/dist/ccda/PROJ/marklogic/qa/Modules/MarkLogic/cpf/triggers/on-any-property.xqy" 2013-08-19 17:27:41.840 Fine: qaPolicyPortalhttp: qaPolicyPortalDB: on-any-property skipping /initialState/1702386.doc 2013-08-19 17:27:41.895 Finer: Forest qaPolicyPortalForest spawning 1 triggers 2013-08-19 17:27:41.896 Fine: qaPolicyPortalDB 2258594817852170850 5 fragments replaced 5 2013-08-19 17:27:41.978 Fine: qaPolicyPortalDB 16815121092495092372 updating properties for /initialState/1702386.doc 2013-08-19 17:27:41.978 Finer: qaPolicyPortalDB 16815121092495092372 processing xdmp:document-set-property("/initialState/1702386.doc", /cpf:processing-status) 2013-08-19 17:27:41.978 Finer: qaPolicyPortalDB 16815121092495092372 processing xdmp:document-set-property("/initialState/1702386.doc", /cpf:property-hash) 2013-08-19 17:27:41.978 Finer: qaPolicyPortalDB 16815121092495092372 processing xdmp:node-replace(xdmp:document-properties("/initialState/1702386.doc")/prop:properties/cpf:self, <cpf:self xmlns:cpf="http://marklogic.com/cpf">/initialState/1702386.doc</cpf:self>) 2013-08-19 17:27:41.999 Finer: PreCommit Trigger: uri="/ms/dist/ccda/PROJ/marklogic/qa/Modules/MarkLogic/cpf/triggers/on-any-property.xqy" 2013-08-19 17:27:41.999 Fine: TaskServer: qaPolicyPortalDB: on-any-property skipping /initialState/1702386.doc 2013-08-19 17:27:42.053 Finer: Forest qaPolicyPortalForest spawning 1 triggers 2013-08-19 17:27:42.054 Fine: TaskServer: qaPolicyPortalDB: on-status-enter skipping /initialState/1702386.doc 2013-08-19 17:27:42.054 Finer: Finished task 368, result=() 2013-08-19 17:27:42.055 Fine: qaPolicyPortalDB 16815121092495092372 1 fragment replaced 1 2013-08-19 17:27:42.056 Finer: Finished task 367, result=() pipeline <pipeline-name>Policy Portal Pipeline</pipeline-name> <pipeline-description> Takes all type of document, specially PDF doc docx add metadata data and copied it to policies otherdocs folder </pipeline-description> <success-action> <module>/MarkLogic/cpf/actions/success-action.xqy</module> </success-action> <failure-action> <module>/MarkLogic/cpf/actions/failure-action.xqy</module> </failure-action> <state-transition> <annotation>When a document is FIRST INSERTED, append metadata and move to policies other docs folder .</annotation> <state>http://marklogic.com/states/initial</state<http://marklogic.com/states/initial%3c/state>> <on-success>http://marklogic.com/states/Submitted</on-success<http://marklogic.com/states/Submitted%3c/on-success>> <on-failure>http://marklogic.com/states/error</on-failure<http://marklogic.com/states/error%3c/on-failure>> <priority>5000</priority> <execute> <condition> <module>/MarkLogic/cpf/actions/docToPolicy/isDocumentavailable.xqy</module> </condition> <action> <module>/MarkLogic/cpf/actions/docToPolicy/appendmetadata.xqy</module> </action> </execute> </state-transition> <state-transition> <annotation>When a document is UPDATED, append metadata and move to policies other docs folder .</annotation> <state>http://marklogic.com/states/updated</state<http://marklogic.com/states/updated%3c/state>> <on-success>http://marklogic.com/states/Submitted</on-success<http://marklogic.com/states/Submitted%3c/on-success>> <on-failure>http://marklogic.com/states/error</on-failure<http://marklogic.com/states/error%3c/on-failure>> <priority>5000</priority> <execute> <condition> <module>/MarkLogic/cpf/actions/docToPolicy/isDocumentavailable.xqy</module> </condition> <action> <module>/MarkLogic/cpf/actions/docToPolicy/appendmetadata.xqy</module> </action> </execute> </state-transition> <state-transition> <annotation> Take an action in the case of an error. </annotation> <state>http://marklogic.com/states/error</state<http://marklogic.com/states/error%3c/state>> <default-action> <module>/MarkLogic/cpf/actions/error/error-action.xqy</module> </default-action> </state-transition> <!-- Final states (final and error) are not handled here --> </pipeline> ________________________________ NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers If you cannot access these links, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley you consent to the foregoing. ________________________________ NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers If you cannot access these links, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley you consent to the foregoing.
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
