<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: why? Nuxeo doesn&amp;apos;t show workflow tab when type document is Folderish in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/why-nuxeo-doesn-apos-t-show-workflow-tab-when-type-document-is/m-p/315633#M2634</link>
    <description>&lt;P&gt;Workflow is enabled by default only on two document types: &lt;STRONG&gt;File&lt;/STRONG&gt; and &lt;STRONG&gt;Note&lt;/STRONG&gt;. This does not mean however that it cannot be enabled for other document types.&lt;/P&gt;
&lt;P&gt;To enable the workflow on other document types please use these instructions:
&lt;A href="http://doc.nuxeo.com/x/rQAt"&gt;Enable workflow on your document type&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please note that &lt;STRONG&gt;Folderish&lt;/STRONG&gt; refers to a &lt;STRONG&gt;facet&lt;/STRONG&gt;, not a document type, and the procedure in the link above provides workflow association with &lt;STRONG&gt;document types&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Now when the workflow is enabled you can activate/display the "Workflow" tab on your "Folderish" documents:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions"&amp;gt;
  &amp;lt;action id="TAB_CONTENT_JBPM" link="/incl/tabs/document_process.xhtml"
     enabled="true" label="action.view.review" icon="/icons/file.gif"
     order="60"&amp;gt;
     &amp;lt;category&amp;gt;VIEW_ACTION_LIST&amp;lt;/category&amp;gt;
    &amp;lt;filter id="jbpm-process" append="true"&amp;gt;
      &amp;lt;rule grant="true"&amp;gt;
	&amp;lt;facet&amp;gt;Folderish&amp;lt;/facet&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Afterwards you'll need to associate specific workflows to be available for the required document types (please note I'm listing here document types, not facets - this is because the default JbpmService filter operates on types - however you still could rewrite the default filter):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;extension target="org.nuxeo.ecm.platform.jbpm.core.JbpmService"
   point="typeFilter"&amp;gt;
   &amp;lt;type name="Folder"&amp;gt;
     &amp;lt;processDefinition&amp;gt;review_parallel&amp;lt;/processDefinition&amp;gt;
   &amp;lt;/type&amp;gt;
&amp;lt;type&amp;gt;
...
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The last important thing to do is to provide the "require" clause to make sure your workflow/tab definitions are not overridden by those defined in another extension.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Sep 2011 00:22:20 GMT</pubDate>
    <dc:creator>Wojciech_Sulejm</dc:creator>
    <dc:date>2011-09-29T00:22:20Z</dc:date>
    <item>
      <title>why? Nuxeo doesn&amp;apos;t show workflow tab when type document is Folderish</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/why-nuxeo-doesn-apos-t-show-workflow-tab-when-type-document-is/m-p/315632#M2633</link>
      <description>&lt;P&gt;Nuxeo doesn't show workflow tab when type document is Folderish. I need show this tab in my case&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2011 18:25:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/why-nuxeo-doesn-apos-t-show-workflow-tab-when-type-document-is/m-p/315632#M2633</guid>
      <dc:creator>geekonspace</dc:creator>
      <dc:date>2011-09-28T18:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: why? Nuxeo doesn&amp;apos;t show workflow tab when type document is Folderish</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/why-nuxeo-doesn-apos-t-show-workflow-tab-when-type-document-is/m-p/315633#M2634</link>
      <description>&lt;P&gt;Workflow is enabled by default only on two document types: &lt;STRONG&gt;File&lt;/STRONG&gt; and &lt;STRONG&gt;Note&lt;/STRONG&gt;. This does not mean however that it cannot be enabled for other document types.&lt;/P&gt;
&lt;P&gt;To enable the workflow on other document types please use these instructions:
&lt;A href="http://doc.nuxeo.com/x/rQAt"&gt;Enable workflow on your document type&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please note that &lt;STRONG&gt;Folderish&lt;/STRONG&gt; refers to a &lt;STRONG&gt;facet&lt;/STRONG&gt;, not a document type, and the procedure in the link above provides workflow association with &lt;STRONG&gt;document types&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Now when the workflow is enabled you can activate/display the "Workflow" tab on your "Folderish" documents:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions"&amp;gt;
  &amp;lt;action id="TAB_CONTENT_JBPM" link="/incl/tabs/document_process.xhtml"
     enabled="true" label="action.view.review" icon="/icons/file.gif"
     order="60"&amp;gt;
     &amp;lt;category&amp;gt;VIEW_ACTION_LIST&amp;lt;/category&amp;gt;
    &amp;lt;filter id="jbpm-process" append="true"&amp;gt;
      &amp;lt;rule grant="true"&amp;gt;
	&amp;lt;facet&amp;gt;Folderish&amp;lt;/facet&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Afterwards you'll need to associate specific workflows to be available for the required document types (please note I'm listing here document types, not facets - this is because the default JbpmService filter operates on types - however you still could rewrite the default filter):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;extension target="org.nuxeo.ecm.platform.jbpm.core.JbpmService"
   point="typeFilter"&amp;gt;
   &amp;lt;type name="Folder"&amp;gt;
     &amp;lt;processDefinition&amp;gt;review_parallel&amp;lt;/processDefinition&amp;gt;
   &amp;lt;/type&amp;gt;
&amp;lt;type&amp;gt;
...
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The last important thing to do is to provide the "require" clause to make sure your workflow/tab definitions are not overridden by those defined in another extension.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2011 00:22:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/why-nuxeo-doesn-apos-t-show-workflow-tab-when-type-document-is/m-p/315633#M2634</guid>
      <dc:creator>Wojciech_Sulejm</dc:creator>
      <dc:date>2011-09-29T00:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: why? Nuxeo doesn&amp;apos;t show workflow tab when type document is Folderish</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/why-nuxeo-doesn-apos-t-show-workflow-tab-when-type-document-is/m-p/315634#M2635</link>
      <description>&lt;P&gt;Indeed, that piece of documentation specifies only how to activate a workflow on a document type but does not add the tab to the ui. (because of the way this tool works, let me just modify my answer to include the missing information)&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2011 21:46:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/why-nuxeo-doesn-apos-t-show-workflow-tab-when-type-document-is/m-p/315634#M2635</guid>
      <dc:creator>Wojciech_Sulejm</dc:creator>
      <dc:date>2011-09-29T21:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: why? Nuxeo doesn&amp;apos;t show workflow tab when type document is Folderish</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/why-nuxeo-doesn-apos-t-show-workflow-tab-when-type-document-is/m-p/315635#M2636</link>
      <description>&lt;P&gt;you don't need to override the action, overriding the filter definition is enough&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2011 16:15:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/why-nuxeo-doesn-apos-t-show-workflow-tab-when-type-document-is/m-p/315635#M2636</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2011-09-30T16:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: why? Nuxeo doesn&amp;apos;t show workflow tab when type document is Folderish</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/why-nuxeo-doesn-apos-t-show-workflow-tab-when-type-document-is/m-p/315636#M2637</link>
      <description>&lt;P&gt;you're right&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2011 14:19:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/why-nuxeo-doesn-apos-t-show-workflow-tab-when-type-document-is/m-p/315636#M2637</guid>
      <dc:creator>geekonspace</dc:creator>
      <dc:date>2011-10-03T14:19:54Z</dc:date>
    </item>
  </channel>
</rss>

