<?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 Once task is completed at first level it is moving to next level, but not getting assigned. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/once-task-is-completed-at-first-level-it-is-moving-to-next-level/m-p/185834#M138964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Developers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use below semantics i.e activiti:candidateUsers which calls java method to get potential list of assignees&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;activiti:candidateUsers="${findUserService.findUsersByTaskLevel(execution,'reviewInvoice')}".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My workflow is as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;reviewInvoice –&amp;gt; verifyInvoice –&amp;gt; ApproveInvoice &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Step 1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;New row is added to our DB which initiate a workflow using spring intergation and a&amp;nbsp; new task workflow is created in activiti engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Task is assigned to poetntial users for task level "reviewInvoice"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lets say findUserService.findUsersByTaskLevel(execution,'reviewInvoice') returns 3 users&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Tim&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Zen&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Shiv&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now when I login with user shiv, I can see task assigned to his "Shiv"'s name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Step 2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;User Shiv completes the task using below method&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;taskService.complete(taskId);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I expect task to move to next level. and it is working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After task completion , I have queried ACT_RU_EXECUTION table and its ACT_ID_ column shows next task level name for task. Not sure if this is correct way to verify,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now next level is verifyInvoice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here I use same technique of assigning user using activiti:candidateUsers="${findUserService.findUsersByTaskLevel(execution,'verifyInvoice')}".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;lets say poential users for verifyInvoice returns 3 users&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. ted&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Zim&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Yen&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now when ted logins he should see this task as pending task item for him. but thats not happening.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So after task is completed at first level it is moving to next level, but not getting assigned.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help. Any inputs are most welcome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jun 2014 08:15:42 GMT</pubDate>
    <dc:creator>shivnarayanvarm</dc:creator>
    <dc:date>2014-06-11T08:15:42Z</dc:date>
    <item>
      <title>Once task is completed at first level it is moving to next level, but not getting assigned.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/once-task-is-completed-at-first-level-it-is-moving-to-next-level/m-p/185834#M138964</link>
      <description>Dear Developers,I use below semantics i.e activiti:candidateUsers which calls java method to get potential list of assigneesactiviti:candidateUsers="${findUserService.findUsersByTaskLevel(execution,'reviewInvoice')}".My workflow is as follows:reviewInvoice –&amp;gt; verifyInvoice –&amp;gt; ApproveInvoice St</description>
      <pubDate>Wed, 11 Jun 2014 08:15:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/once-task-is-completed-at-first-level-it-is-moving-to-next-level/m-p/185834#M138964</guid>
      <dc:creator>shivnarayanvarm</dc:creator>
      <dc:date>2014-06-11T08:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Once task is completed at first level it is moving to next level, but not getting assigned.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/once-task-is-completed-at-first-level-it-is-moving-to-next-level/m-p/185835#M138965</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;It should work. Could you create jUnit test for the issue please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;could you check your ACT_RU_IDENTITYLINK table? (Is there any record about task candidates?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 07:43:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/once-task-is-completed-at-first-level-it-is-moving-to-next-level/m-p/185835#M138965</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-06-12T07:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Once task is completed at first level it is moving to next level, but not getting assigned.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/once-task-is-completed-at-first-level-it-is-moving-to-next-level/m-p/185836#M138966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Martin, Thanks for reply. Yes this table "ACT_RU_IDENTITYLINK" is empty. How can we populate this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 12:56:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/once-task-is-completed-at-first-level-it-is-moving-to-next-level/m-p/185836#M138966</guid>
      <dc:creator>shivnarayanvarm</dc:creator>
      <dc:date>2014-06-12T12:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Once task is completed at first level it is moving to next level, but not getting assigned.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/once-task-is-completed-at-first-level-it-is-moving-to-next-level/m-p/185837#M138967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Shivnarayan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think the best way how to reproduce -&amp;gt; solve the issue is to create jUnit test (I can have a look on it)). In other case you have to find out why ACT_RU_IDENTITYLINK is empty.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 08:38:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/once-task-is-completed-at-first-level-it-is-moving-to-next-level/m-p/185837#M138967</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-06-16T08:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Once task is completed at first level it is moving to next level, but not getting assigned.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/once-task-is-completed-at-first-level-it-is-moving-to-next-level/m-p/185838#M138968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Martin, This issue got fixed. I just re-created same diagram (without any changes) and it worked. ACT_RU_IDENTITYLINK&amp;nbsp; table is now getting populated.. thanks for your help. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 13:53:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/once-task-is-completed-at-first-level-it-is-moving-to-next-level/m-p/185838#M138968</guid>
      <dc:creator>shivnarayanvarm</dc:creator>
      <dc:date>2014-06-16T13:53:10Z</dc:date>
    </item>
  </channel>
</rss>

