<?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: How can we define a User (A) as a viewer of a task which is assigned to another user (B) in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-can-we-define-a-user-a-as-a-viewer-of-a-task-which-is/m-p/17088#M7592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no harm of involving a user as a candidate. To add a user as a participant use the TaskService addUserIdentityLink method&amp;nbsp;&lt;A class="link-titled" href="https://www.activiti.org/javadocs/org/activiti/engine/taskservice#addUserIdentityLink-java.lang.String-java.lang.String-java.lang.String-" title="https://www.activiti.org/javadocs/org/activiti/engine/taskservice#addUserIdentityLink-java.lang.String-java.lang.String-java.lang.String-" rel="nofollow noopener noreferrer"&gt;TaskService (Activiti - Engine 5.22.0 API)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;taskService.&lt;SPAN&gt;addUserIdentityLink("1001", "kermit",&amp;nbsp;&lt;/SPAN&gt;IdentityLinkType.PARTICIPANT);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jun 2018 12:25:32 GMT</pubDate>
    <dc:creator>bassam_al-saror</dc:creator>
    <dc:date>2018-06-07T12:25:32Z</dc:date>
    <item>
      <title>How can we define a User (A) as a viewer of a task which is assigned to another user (B)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-we-define-a-user-a-as-a-viewer-of-a-task-which-is/m-p/17084#M7588</link>
      <description>Scenario is Task A submitted by User A navigates to Task B assigned to User B,&amp;nbsp; &amp;nbsp; how can I set User A as viewer (which can monitor) of Task B whose assignee is User B.I tried Candidate user in this case but not working as Candidate User has to Claim the task but in my case task is already assigned</description>
      <pubDate>Tue, 05 Jun 2018 17:11:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-we-define-a-user-a-as-a-viewer-of-a-task-which-is/m-p/17084#M7588</guid>
      <dc:creator>kashifayyaz</dc:creator>
      <dc:date>2018-06-05T17:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can we define a User (A) as a viewer of a task which is assigned to another user (B)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-we-define-a-user-a-as-a-viewer-of-a-task-which-is/m-p/17085#M7589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got the solution for my first question how User-A can watch task which is assigned to user B, User A could be&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;activiti:candidateUsers="${User-A}"&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; in respective task definition whereas&lt;/P&gt;&lt;P&gt;//Java Code&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;List&amp;lt;Task&amp;gt; involvedTaskList&amp;nbsp; = taskService.createTaskQuery().taskInvolvedUser("User-A").list();&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;this list returns all the tasks in which User-A is involved (either assigned or Candidate)&lt;/P&gt;&lt;P&gt;now&amp;nbsp;&lt;/P&gt;&lt;P&gt;task.getAssignee()&lt;/P&gt;&lt;P&gt;gives me difference in the tasks assigned to User-A and task in which he is Candidate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will post my second answer once i will get solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 10:05:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-we-define-a-user-a-as-a-viewer-of-a-task-which-is/m-p/17085#M7589</guid>
      <dc:creator>kashifayyaz</dc:creator>
      <dc:date>2018-06-06T10:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can we define a User (A) as a viewer of a task which is assigned to another user (B)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-we-define-a-user-a-as-a-viewer-of-a-task-which-is/m-p/17086#M7590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can involve the user to the task. "candidate" is a special type of involvement which allows the user to claim the task. But you can involve the user as a "participant".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 12:10:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-we-define-a-user-a-as-a-viewer-of-a-task-which-is/m-p/17086#M7590</guid>
      <dc:creator>bassam_al-saror</dc:creator>
      <dc:date>2018-06-06T12:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can we define a User (A) as a viewer of a task which is assigned to another user (B)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-we-define-a-user-a-as-a-viewer-of-a-task-which-is/m-p/17087#M7591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Bassam, couple of clarifications required&lt;/P&gt;&lt;P&gt;1. what is harm if I move forward with Candidate User and get involved tasks no matter I will not claim them&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. can you please give example how to add user as a participant in task (java code)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 18:29:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-we-define-a-user-a-as-a-viewer-of-a-task-which-is/m-p/17087#M7591</guid>
      <dc:creator>kashifayyaz</dc:creator>
      <dc:date>2018-06-06T18:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can we define a User (A) as a viewer of a task which is assigned to another user (B)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-we-define-a-user-a-as-a-viewer-of-a-task-which-is/m-p/17088#M7592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no harm of involving a user as a candidate. To add a user as a participant use the TaskService addUserIdentityLink method&amp;nbsp;&lt;A class="link-titled" href="https://www.activiti.org/javadocs/org/activiti/engine/taskservice#addUserIdentityLink-java.lang.String-java.lang.String-java.lang.String-" title="https://www.activiti.org/javadocs/org/activiti/engine/taskservice#addUserIdentityLink-java.lang.String-java.lang.String-java.lang.String-" rel="nofollow noopener noreferrer"&gt;TaskService (Activiti - Engine 5.22.0 API)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;taskService.&lt;SPAN&gt;addUserIdentityLink("1001", "kermit",&amp;nbsp;&lt;/SPAN&gt;IdentityLinkType.PARTICIPANT);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 12:25:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-we-define-a-user-a-as-a-viewer-of-a-task-which-is/m-p/17088#M7592</guid>
      <dc:creator>bassam_al-saror</dc:creator>
      <dc:date>2018-06-07T12:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can we define a User (A) as a viewer of a task which is assigned to another user (B)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-we-define-a-user-a-as-a-viewer-of-a-task-which-is/m-p/17089#M7593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bundle of thanks brother, pretty much clear&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jun 2018 19:17:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-we-define-a-user-a-as-a-viewer-of-a-task-which-is/m-p/17089#M7593</guid>
      <dc:creator>kashifayyaz</dc:creator>
      <dc:date>2018-06-09T19:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: How can we define a User (A) as a viewer of a task which is assigned to another user (B)</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-we-define-a-user-a-as-a-viewer-of-a-task-which-is/m-p/17090#M7594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;B&gt;Bassam Al-Sarori&lt;/B&gt;‌ Even I have the same case. can you post your working code it will be help full.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 06:04:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-we-define-a-user-a-as-a-viewer-of-a-task-which-is/m-p/17090#M7594</guid>
      <dc:creator>anitapatil_bld</dc:creator>
      <dc:date>2018-06-21T06:04:12Z</dc:date>
    </item>
  </channel>
</rss>

