Hi David, Not to spoil your CPF fun, but have you thought about using Information Studio transformations? It requires your states to follow a single sequential track, but it uses CPF under the hood, and provides a very nice user interface to manage and monitor the content flows..
Kind regards, Geert -----Oorspronkelijk bericht----- Van: [email protected] [mailto:[email protected]] Namens Fox, David Verzonden: woensdag 22 augustus 2012 23:00 Aan: [email protected] Onderwerp: Re: [MarkLogic Dev General] Multiple (sequential) CPF pipelines > <state-transition> > <state>http://marklogic.com/states/intermediate</state> ^^^^^^^^^^^^^^^^^ You need to update this one as well > <on-success>http://ap.org/states/processed</on-success> > <on-failure>http://marklogic.com/states/error</on-failure> > <execute> > <condition> > > <module>/MarkLogic/cpf/actions/namespace-condition.xqy</module> Whoops. I corrected this and my second query did end up running, but it never changed the state to 'processed'. Also, the second query is not finding the data being stored in the database by the first query. Maybe this is kind of like trying to insert a document and then read that document from the database within a single query -- not possible? I was able to solve my immediate problem by simply combining the two modules and calling it with a single pipeline, but I am still open to ideas about threading a document through multiple 'execute' blocks. Thanks for everyone's help thus far. The information contained in this communication is intended for the use of the designated recipients named above. If the reader of this communication is not the intended recipient, you are hereby notified that you have received this communication in error, and that any review, dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify The Associated Press immediately by telephone at +1-212-621-1898 and delete this email. Thank you. [IP_US_DISC] msk dccc60c6d2c3a6438f0cf467d9a4938 _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
