<?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: [Share] How to control the task reassignment in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/share-how-to-control-the-task-reassignment/m-p/310191#M263321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I appreciate a lot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But, unfortunately, it's more complicate than that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My client want that all users can see all tasks (even if it's not assigned to their group).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If they belong to the group of the task, they can update it. If not, they only have a read-only access.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the user belongs to the group "GROUP_Managers", he can use the reassigment. If not, the buton, need to be disabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the reassignment is made, I have to make sur that the reassignment is ok. For example, I can't reassign a task that belongs to "GROUP_X" to a user of "GROUP_Y".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, as ingenious as it's your solution, I'm afraid that it can't help me. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Jul 2014 06:41:42 GMT</pubDate>
    <dc:creator>theoryoflinkin</dc:creator>
    <dc:date>2014-07-01T06:41:42Z</dc:date>
    <item>
      <title>[Share] How to control the task reassignment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-how-to-control-the-task-reassignment/m-p/310187#M263317</link>
      <description>Hi everyone,In my projet, I need to activate the "Reassign" button on a workflow task only for a group of users.Furthermore, I also need to check that the reassignment of the task is good. I mean if the task belongs to the group X, the new user selected for assignment need to be a member of group X.</description>
      <pubDate>Mon, 16 Jun 2014 07:29:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-how-to-control-the-task-reassignment/m-p/310187#M263317</guid>
      <dc:creator>theoryoflinkin</dc:creator>
      <dc:date>2014-06-16T07:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: [Share] How to control the task reassignment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-how-to-control-the-task-reassignment/m-p/310188#M263318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nobody can help me? &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 15:11:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-how-to-control-the-task-reassignment/m-p/310188#M263318</guid>
      <dc:creator>theoryoflinkin</dc:creator>
      <dc:date>2014-06-19T15:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: [Share] How to control the task reassignment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-how-to-control-the-task-reassignment/m-p/310189#M263319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there a way to control the reassignment or is it just impossible?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 07:08:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-how-to-control-the-task-reassignment/m-p/310189#M263319</guid>
      <dc:creator>theoryoflinkin</dc:creator>
      <dc:date>2014-06-26T07:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: [Share] How to control the task reassignment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-how-to-control-the-task-reassignment/m-p/310190#M263320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I understand your requirement correctly then - the main goal is, you don't want to display reassign button in each workflow task. Instead you want to show it only when the task has been assigned to certain groups. Is that correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In that case, one approach would be - you must be knowing the workflow task name for the tasks those will be assigned to the particular group based on your workflow process definition file. Modify task-edit-header.js, to only display the reassign button when the workflow task is one of the group tasks based on the workflow task name. I think, onTaskDetailedData renders the reassign button in task-edit-header.js.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can add logic something like below - &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;if (task.isReassignable)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //Condition for showing Reassign Button only to speicific group of users.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if(task.name == "customwf:mygroupTask")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Task is reassignable&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.widgets.reassignButton = Alfresco.util.createYUIButton(this, "reassign", this.onReassignButtonClick);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dom.removeClass(Selector.query(".actions .reassign", this.id), "hidden");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 07:28:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-how-to-control-the-task-reassignment/m-p/310190#M263320</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2014-06-27T07:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: [Share] How to control the task reassignment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-how-to-control-the-task-reassignment/m-p/310191#M263321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I appreciate a lot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But, unfortunately, it's more complicate than that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My client want that all users can see all tasks (even if it's not assigned to their group).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If they belong to the group of the task, they can update it. If not, they only have a read-only access.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the user belongs to the group "GROUP_Managers", he can use the reassigment. If not, the buton, need to be disabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the reassignment is made, I have to make sur that the reassignment is ok. For example, I can't reassign a task that belongs to "GROUP_X" to a user of "GROUP_Y".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, as ingenious as it's your solution, I'm afraid that it can't help me. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 06:41:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-how-to-control-the-task-reassignment/m-p/310191#M263321</guid>
      <dc:creator>theoryoflinkin</dc:creator>
      <dc:date>2014-07-01T06:41:42Z</dc:date>
    </item>
  </channel>
</rss>

