<?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: Hide Start Workflow Action for Collaborator and Consumer in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/hide-start-workflow-action-for-collaborator-and-consumer/m-p/98179#M28653</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;B&gt;Angel Borroy&lt;/B&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried with&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit;"&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;&amp;lt;&lt;/SPAN&gt;evaluator&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;evaluator.doclib.action.isSiteManager&lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit;"&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;&amp;lt;/&lt;/SPAN&gt;evaluator&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It won't work for me. It will hide the button even for Admin also outside the site.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I create custom evaluator to get this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Aug 2019 07:58:11 GMT</pubDate>
    <dc:creator>yash_patel_c2</dc:creator>
    <dc:date>2019-08-09T07:58:11Z</dc:date>
    <item>
      <title>Hide Start Workflow Action for Collaborator and Consumer</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/hide-start-workflow-action-for-collaborator-and-consumer/m-p/98177#M28651</link>
      <description>Hi All,I could hide Start Workflow for consumer by adding following in share-config-custom.xml&amp;lt;config evaluator="string-compare" condition="DocLibActions"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;actions&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;action id="document-assign-workflow" type="javascript" label="actions.document.assign-workflow"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;amp;l</description>
      <pubDate>Fri, 09 Aug 2019 06:57:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/hide-start-workflow-action-for-collaborator-and-consumer/m-p/98177#M28651</guid>
      <dc:creator>yash_patel_c2</dc:creator>
      <dc:date>2019-08-09T06:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Hide Start Workflow Action for Collaborator and Consumer</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/hide-start-workflow-action-for-collaborator-and-consumer/m-p/98178#M28652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to create a Share evaluator. Probably the "isSiteManager" works for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="line-numbers language-markup"&gt;&lt;CODE&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;config&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;evaluator&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;string-compare&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;condition&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;DocLibActions&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;   &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;actions&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;      &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;action&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;id&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;document-assign-workflow&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;type&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;javascript&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;label&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;actions.document.assign-workflow&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;         &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;param&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;name&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;function&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;onActionAssignWorkflow&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;param&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;            &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;permissions&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;               &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;permission&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;allow&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;true&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Write&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;permission&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;            &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;permissions&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;            &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;evaluator&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;evaluator.doclib.action.isSiteManager&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;evaluator&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;							&lt;BR /&gt;      &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;action&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;   &lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;actions&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;config&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 07:29:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/hide-start-workflow-action-for-collaborator-and-consumer/m-p/98178#M28652</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2019-08-09T07:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hide Start Workflow Action for Collaborator and Consumer</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/hide-start-workflow-action-for-collaborator-and-consumer/m-p/98179#M28653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;B&gt;Angel Borroy&lt;/B&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also tried with&lt;/P&gt;&lt;PRE class="" style="color: #000000; background: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit;"&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;&amp;lt;&lt;/SPAN&gt;evaluator&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;evaluator.doclib.action.isSiteManager&lt;SPAN class="" style="color: #990000; border: 0px; font-weight: inherit;"&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;&amp;lt;/&lt;/SPAN&gt;evaluator&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It won't work for me. It will hide the button even for Admin also outside the site.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I create custom evaluator to get this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 07:58:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/hide-start-workflow-action-for-collaborator-and-consumer/m-p/98179#M28653</guid>
      <dc:creator>yash_patel_c2</dc:creator>
      <dc:date>2019-08-09T07:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: Hide Start Workflow Action for Collaborator and Consumer</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/hide-start-workflow-action-for-collaborator-and-consumer/m-p/98180#M28654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another approach is to develop your own evaluator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at this blog post: &lt;A class="link-titled" href="http://soft29.info/blog/entry/alfresco-extension-module-evaluators" title="http://soft29.info/blog/entry/alfresco-extension-module-evaluators" rel="nofollow noopener noreferrer"&gt;Soft29 blog: Alfresco Extension Module evaluators&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 08:22:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/hide-start-workflow-action-for-collaborator-and-consumer/m-p/98180#M28654</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2019-08-09T08:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Hide Start Workflow Action for Collaborator and Consumer</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/hide-start-workflow-action-for-collaborator-and-consumer/m-p/98181#M28655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is how I do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I include the configuration section shown in the original question, without conditions, but I only apply the module using a group evaluator, including a condition for the site role I want it to be applied.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 11:40:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/hide-start-workflow-action-for-collaborator-and-consumer/m-p/98181#M28655</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2019-08-09T11:40:37Z</dc:date>
    </item>
  </channel>
</rss>

