Hi Craig, Craig Pugsley wrote: > We've created a new document type in Nuxeo and, with some excellent help > from the people on this list, are now able to create new documents in > this new document type. > > Our next mission with Nuxeo is to try and workflow these documents using > Nuxeo's excellent workflow facilities. We know they're excellent, as we > can create a 'Note' document (one of the default types) and put that > through a workflow process. > > How would we go about enabling workflow for the new document type we've > just created? > > Unfortunately, as far as we can see, we don't have much in the way of > documentation to help us understand how to enable workflow on our > document type. The closest seems to be this: > > http://public.dev.nuxeo.com/~ogrisel/nuxeo-book/workflow-service.html > > After some random looking through the code base, we have found a > 'nxworkflow-document-rules-contrib.xml' in the > platform/nuxeo-platform-webapp-core project that seems to be where the > 'Note' document type's workflow is defined. > > We've created a local copy of this in our sample project and removed all > but one of the doc type declarations, substituting the last one for our > document type. Needless to say this didn't work.
Did you think about referencing your new xml descriptor that contains
the workflow rules in the MANIFEST.MF of your bundle ?
As well, if you did a copy paste of an existing workflow rule did you
think about changing the component name (name="") in the xml descriptor ?
Do not hesitate if you got more questions.
Cheers,
J.
--
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - http://www.nuxeo.com
Nuxeo 5 : http://www.nuxeo.org
Mobile: +33 (0) 6 72 57 57 66
signature.asc
Description: OpenPGP digital signature
_______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm
