cancel
Showing results for 
Search instead for 
Did you mean: 

enable workflow in my document type

vjoussot_
Star Contributor
Star Contributor

Hello, with studio, I have created an xml extension to enable workflow on my document type with the name : DefaultWorkflowFilterOverride

<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>doc_adm</type>
        <type>doc_qualite</type>
      </rule>
      <rule grant="false">
        <condition>document.isImmutable()</condition>
      </rule>
    </filter>
 </extension>

but it's allways impossible to activate workflow on my document with type doc_adm. Where is the problem ?

4 REPLIES 4

vjoussot_
Star Contributor
Star Contributor

up personne ?

Benjamin_Jalon1
Elite Collaborator
Elite Collaborator

Please use for comment and answer for answer.

vjoussot_
Star Contributor
Star Contributor

sorry, but I don't understand what is "worflow enablement tab".

Anahide_Tchertc
Elite Collaborator
Elite Collaborator

Hi,

Could you check if using the if "filter@wf@SerialDocumentReview" instead fixes the issue? (adding the "@wf" in the middle of the name). There's been a unfortunate temporary change in this id, see https://jira.nuxeo.com/browse/NXP-11633