How to enable default workflow on my doc type.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2013 06:02 AM
Hello, and if I want use the default workflow in my own document type ? I follow this documentation : http://doc.nuxeo.com/display/Studio/Workflow+engine+FAQ
<extension target="org.nuxeo.ecm.platform.actions.ActionService" point="filters">
<filter id="filter@SerialDocumentReview" append="true">
<rule grant="true">
<permission>ReadWrite</permission>
<type>doc_adm</type>
<type>conv</type>
<type>File</type>
<type>Note</type>
</rule>
</filter>
</extension>
but I don't know wich id (name) take to the xml extension, and when I update my nuxeo server, default workflow are always inactive in my document.
Workflow Aucun processus ne peut être démarré sur ce document.
Any idea of the problem ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2013 07:11 AM
We try to keep this web site simple for the community. Please use it well
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-28-2013 09:43 AM
Yes but I obtain no response .....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-12-2016 05:05 AM
It is very simple to do.
Include the below filters in actions-contrib.xml
<extension target="org.nuxeo.ecm.platform.actions.ActionService" point="filters">
<filter id="filter@wf@ParallelDocumentReview" append="true">
<rule grant="true">
<permission>ReadWrite</permission>
<type>YourType</type>
<condition>#{!currentDocument.locked}</condition>
</rule>
</filter>
<filter id="filter@SerialDocumentReview" append="true">
<rule grant="true">
<permission>ReadWrite</permission>
<type>YourType</type>
<condition>#{!currentDocument.locked}</condition>
</rule>
</extension>
Simple isn't 🙂
