cancel
Showing results for 
Search instead for 
Did you mean: 

How to apply the default workflow (content routing) on my doc type on Nuxeo 5.6

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator
  • I created a document type with Studio for Nuxeo 5.6
  • I want to have the ability to apply the defaul serial workflow on my document type
1 ACCEPTED ANSWER

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

The default is available only for the 5.6 version released (not in RCs)

Actually there is no simple way to do that, but we plan to improve that soon.

Waiting this improvement here is the way:

  • In Studio
  • In Advanced Settings > XML Extensions > New
  • Feature ID : DefaultWorkflowFilterOverride

Copy this following content:

  <extension target="org.nuxeo.ecm.platform.actions.ActionService" point="filters">
    <filter id="filter@SerialDocumentReview">
      <rule grant="true">
        <permission>ReadWrite</permission>
        <type>File</type>
        <type>Note</type>
        <type>TonTypeDoc1</type>
        <type>TonTypeDoc2</type>
        etc...
      </rule>
      <rule grant="false">
        <condition>document.isImmutable()</condition>
      </rule>
    </filter>
  </extension>

Where TonTypeDoc1, TonTypeDoc2 is your doc types name on which the workflow will be enabled.

View answer in original post

4 REPLIES 4

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

The default is available only for the 5.6 version released (not in RCs)

Actually there is no simple way to do that, but we plan to improve that soon.

Waiting this improvement here is the way:

  • In Studio
  • In Advanced Settings > XML Extensions > New
  • Feature ID : DefaultWorkflowFilterOverride

Copy this following content:

  <extension target="org.nuxeo.ecm.platform.actions.ActionService" point="filters">
    <filter id="filter@SerialDocumentReview">
      <rule grant="true">
        <permission>ReadWrite</permission>
        <type>File</type>
        <type>Note</type>
        <type>TonTypeDoc1</type>
        <type>TonTypeDoc2</type>
        etc...
      </rule>
      <rule grant="false">
        <condition>document.isImmutable()</condition>
      </rule>
    </filter>
  </extension>

Where TonTypeDoc1, TonTypeDoc2 is your doc types name on which the workflow will be enabled.

hello, thank you for that, but how can we make appear the Default Workflow in Nuxeo Studio ?

We plan to let it available as Application Template in Nuxeo Studio through Settings & Versioning > Application Templates

yes, that would be very nice... can you let us know here when it's gonna be available ? we can't wait

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.