<?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: Basic concepts about users and tasks in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62851#M39301</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;well with "prominent" i meant that there is an Involved tab in the explorer and there is an api method called TaskQuery.involvedUser, whereas the Involved notion until 5.7 was not really documented. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for clearing things up though, a few more lines in the doc would be helpful indeed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Aug 2011 12:41:11 GMT</pubDate>
    <dc:creator>heymjo</dc:creator>
    <dc:date>2011-08-23T12:41:11Z</dc:date>
    <item>
      <title>Basic concepts about users and tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62845#M39295</link>
      <description>Hi,Could you please explain the different relationships between users and tasks?- Owner- Assignee- Candidate- InvolvedI also don't understand the difference between reassign, transfer and delegate a task.Related topics:- http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=2043- http://forums.activ</description>
      <pubDate>Fri, 19 Aug 2011 13:48:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62845#M39295</guid>
      <dc:creator>andregs</dc:creator>
      <dc:date>2011-08-19T13:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Basic concepts about users and tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62846#M39296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, this would be helpful. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/en/viewtopic.php?f=9&amp;amp;t=2246" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/en/viewtopic.php?f=9&amp;amp;t=2246&lt;/A&gt;&lt;SPAN&gt; is also relevant (explains Queued Tasks which is not an API semantic but appears in the Explorer)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 06:50:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62846#M39296</guid>
      <dc:creator>heymjo</dc:creator>
      <dc:date>2011-08-22T06:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Basic concepts about users and tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62847#M39297</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;I am very interested, too. I do not understand why &lt;/SPAN&gt;&lt;CODE&gt;activiti:candidateUsers="accountancyUser"&lt;/CODE&gt;&lt;SPAN&gt; does not lead to &lt;/SPAN&gt;&lt;CODE&gt;List&amp;lt;Task&amp;gt; myTasks =&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;&amp;nbsp;&amp;nbsp; processEngine.getTaskService().createTaskQuery().processDefinitionId(processInstance.getId())&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .taskCandidateUser("accountancyUser").list();&lt;/CODE&gt;&lt;SPAN&gt; beeing a list with more than zero elements.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards, Michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 09:11:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62847#M39297</guid>
      <dc:creator>mhw</dc:creator>
      <dc:date>2011-08-22T09:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Basic concepts about users and tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62848#M39298</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;- An owner is the user that's responsible for the user task. You can have multiple sub tasks, but there's one user, the owner, who is responsible for the task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- As assignee is a user that's allocated to that user task, and needs to complete it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- A candidate user is a user that can claim the user task to become the assignee. Note that there's no built-in authorization that somebody who isn't a candidate user can't claim a user task and become the assignee.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- A candidate group is a group of users that can claim the user task to become the assignee.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- An involved user is somebody that's linked to the user task. You can have only 1 assignee, but you have multiple users who can be involved in the user task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Queued tasks are user tasks that don't have an assignee, but only candidate users / groups.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The taskCandidateUser query option should return user tasks that have been configured with activiti:candidateUsers="accountancyUser".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If it's not working please post your implementation with a test case so we can reproduce it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 10:07:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62848#M39298</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-08-23T10:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Basic concepts about users and tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62849#M39299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So owner and involved user are just implicit concepts that have no runtime meaning in the process definition ? If so then it is strange to see these things being so prominent in the api and explorer. It gives impression that they are first class concepts of bpmn modelling but when you turn to the process definition they are nowhere to be seen. I think that is where much of the confusion came from.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(also what about the transfer / reassign / delegate part?)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 11:16:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62849#M39299</guid>
      <dc:creator>heymjo</dc:creator>
      <dc:date>2011-08-23T11:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Basic concepts about users and tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62850#M39300</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;Yes they are implicit concepts. I don't understand your comment about them being so prominent in the API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course they are available in the API, otherwise you couldn't use them. And for a process or case management solution these concepts can be very important.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I can understand the concepts are a bit confusing. We may need to add some explanation in the user guide.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Transfer and reassign are pretty much the same thing. Setting a new owner is called a transfer, and setting a new assignee is called a reassign.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When you delegate a task as an owner, an assignee can work on the task and resolve it. When the assignee resolves it, the task is assigned back again to the owner.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 11:54:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62850#M39300</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-08-23T11:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Basic concepts about users and tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62851#M39301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;well with "prominent" i meant that there is an Involved tab in the explorer and there is an api method called TaskQuery.involvedUser, whereas the Involved notion until 5.7 was not really documented. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for clearing things up though, a few more lines in the doc would be helpful indeed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2011 12:41:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62851#M39301</guid>
      <dc:creator>heymjo</dc:creator>
      <dc:date>2011-08-23T12:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Basic concepts about users and tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62852#M39302</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 detailed explanation. Now I have a much better understanding. Unfortunately I am not able to get my process running as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;definitions id="definitions"&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; targetNamespace="&lt;A href="http://activiti.org/bpmn20" rel="nofollow noopener noreferrer"&gt;http://activiti.org/bpmn20&lt;/A&gt;"&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; xmlns:activiti="&lt;A href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer"&gt;http://activiti.org/bpmn&lt;/A&gt;"&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; xmlns="&lt;A href="http://www.omg.org/spec/BPMN/20100524/MODEL" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;process id="assigningRoles"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;startEvent id="begin"/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow1" sourceRef="begin" targetRef="createReport"/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;userTask id="createReport" name="create the report" activiti:candidateUsers="accountancyUser"/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow2" sourceRef="createReport" targetRef="verifyReport"/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;userTask id="verifyReport" name="verify the report" activiti:candidateUsers="accountancyUser"/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow3" sourceRef="verifyReport" targetRef="end"/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;endEvent id="end"/&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/process&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;/definitions&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp; // create a test user in group ROLE_EDIT&lt;BR /&gt;&amp;nbsp; User accountancyUser = identityService.newUser("accountancyUser");&lt;BR /&gt;&amp;nbsp; Group accountancyGroup = identityService.newGroup("ROLE_EDIT");&lt;BR /&gt;&amp;nbsp; identityService.saveGroup(accountancyGroup);&lt;BR /&gt;&amp;nbsp; identityService.saveUser(accountancyUser);&lt;BR /&gt;&amp;nbsp; identityService.createMembership(accountancyUser.getId(),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; accountancyGroup.getId());&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; List&amp;lt;Group&amp;gt; groups = identityService.createGroupQuery()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .groupId("ROLE_EDIT").list();&lt;BR /&gt;&amp;nbsp; assertEquals(1, groups.size());&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; List&amp;lt;User&amp;gt; users = identityService.createUserQuery()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .memberOfGroup("ROLE_EDIT").list();&lt;BR /&gt;&amp;nbsp; assertEquals(1, users.size());&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; accountancyUser = users.get(0);&lt;BR /&gt;&amp;nbsp; assertEquals("accountancyUser", accountancyUser.getId());&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; // start the process&lt;BR /&gt;&amp;nbsp; ProcessInstance processInstance = runtimeService&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .startProcessInstanceByKey("assigningRoles");&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; // "accountancyUser" should have one task after the process instance was&lt;BR /&gt;&amp;nbsp; // created&lt;BR /&gt;&amp;nbsp; List&amp;lt;Task&amp;gt; myTasks = processEngine.getTaskService().createTaskQuery()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .processDefinitionId(processInstance.getId())&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .taskCandidateUser("accountancyUser").list();&lt;BR /&gt;&amp;nbsp; Assert.assertNotNull(myTasks);&lt;BR /&gt;// here the test fails:&lt;BR /&gt;&amp;nbsp; Assert.assertEquals(1, myTasks.size());&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; // now see if he's involved user on any task of the the process instance&lt;BR /&gt;&amp;nbsp; Assert.assertTrue(processEngine.getTaskService().createTaskQuery()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .processDefinitionId(processInstance.getId())&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .taskInvolvedUser("accountancyUser").list().size() == 0);&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; // now add myself to the task as candidate user&lt;BR /&gt;&amp;nbsp; processEngine.getTaskService().addCandidateUser(myTasks.get(0).getId(),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "accountancyUser");&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; // and now all of a sudden i'm involved user on the task&lt;BR /&gt;&amp;nbsp; Assert.assertTrue(processEngine.getTaskService().createTaskQuery()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .processDefinitionId(processInstance.getId())&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .taskInvolvedUser("accountancyUser").list().size() == 1);&lt;BR /&gt; }&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I doing wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 07:53:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62852#M39302</guid>
      <dc:creator>mhw</dc:creator>
      <dc:date>2011-08-24T07:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Basic concepts about users and tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62853#M39303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The ID of the process-defintion is not the same as the one of the instance (line&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;processDefinitionId(processInstance.getId())&lt;/CODE&gt;&lt;CODE&gt; // "accountancyUser" should have one task after the process instance was&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // created&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; List&amp;lt;Task&amp;gt; myTasks = processEngine.getTaskService().createTaskQuery()&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; .processDefinitionId(processInstance.getId())&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; .taskCandidateUser("accountancyUser").list();&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 07:59:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62853#M39303</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-08-24T07:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Basic concepts about users and tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62854#M39304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Wow! Thank you for the lightspeed support. Works perfectly now, just took the &lt;/SPAN&gt;&lt;CODE&gt;processInstance.getProcessDefinitionId()&lt;/CODE&gt;&lt;SPAN&gt;So I have understood the roles concept&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 08:10:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62854#M39304</guid>
      <dc:creator>mhw</dc:creator>
      <dc:date>2011-08-24T08:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Basic concepts about users and tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62855#M39305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Always glad to help &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 08:16:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62855#M39305</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-08-24T08:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Basic concepts about users and tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62856#M39306</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;I have created candidate group (student) and user(john). Assigned user to group. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From Java program I had created task like below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;List&amp;lt;Task&amp;gt; taskList = taskService.createTaskQuery().taskCandidateGroup("student").list();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;assertEquals(1, taskList.size());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.out.println("found task " + taskList.get(0).getName());&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tasklist size show 1, but i am not able to see the group in Queued list in acitivity explorer. It is showing only four group.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;engineering, marketing,sales and management.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why it is not showing my candidate group?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;below us bpmm xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;process id="RequestAuthorization" name="RequestAuthorization"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; isExecutable="true"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;startEvent id="startevent1" name="Start"&amp;gt;&amp;lt;/startEvent&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;userTask id="usertask1" name="Travel authorization request"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; activiti:candidateGroups="student"&amp;gt;&amp;lt;/userTask&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow1" sourceRef="startevent1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; targetRef="usertask1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;userTask id="usertask2" name="Authorization approval"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; activiti:candidateGroups="coordinator"&amp;gt;&amp;lt;/userTask&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow2" sourceRef="usertask1" targetRef="usertask2"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;endEvent id="endevent1" name="End"&amp;gt;&amp;lt;/endEvent&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow3" sourceRef="usertask2" targetRef="endevent1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/process&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 11:12:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62856#M39306</guid>
      <dc:creator>manav1</dc:creator>
      <dc:date>2015-05-14T11:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Basic concepts about users and tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62857#M39307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Cause you haven't created the 'student' group in the identiy management section yet. Once you have created it there, with the exact same name, it will show up.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 15:31:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/basic-concepts-about-users-and-tasks/m-p/62857#M39307</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-05-18T15:31:53Z</dc:date>
    </item>
  </channel>
</rss>

