enable workflow in my document type

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 ?

0 votes

1 answers

2003 views

ANSWER

up personne ?
05/28/2013

Please use for comment and answer for answer.

I don't really understand your trouble. Did you select in the workflow enablement tab your document type. The XML is a fragment produced by studio ?

05/28/2013

sorry, but I don't understand what is "worflow enablement tab". The xml is declared in "Advanced stettings/xl extensiosn" in studio. Where can I foun the tab for my doc type in the worflow ? The default workflow is not visible in studio …
05/29/2013



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

0 votes