<?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: Problem with multi-instance sub-process in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-multi-instance-sub-process/m-p/60918#M37716</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;CODE&gt;I've not done that before, but I can try. Can you point me to some instructions or examples? I checked the forums but didn't find a thread for newbies with respect to development.&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;The examples shipped with the Activiti distribution are all Junit test. So best place to start there&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;Also, is it a fair assumption on my part that this is likely an issue with the engine? The sub-process runs autonomously in the engine, creating 5 user-tasks, each with a cancel timer. When the timers expire, the engine throws a concurrency exception.&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;It sure is possible that it is a bug, but that must be confirmed by a failing test case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;Is there a way to define the sub-process such that the embedded timer and user tasks are assigned unique ID's?&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't worry, all entities in Activiti get a unique (internal) id. So that's unlikely going the be the issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jul 2011 07:45:02 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2011-07-04T07:45:02Z</dc:date>
    <item>
      <title>Problem with multi-instance sub-process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-multi-instance-sub-process/m-p/60915#M37713</link>
      <description>Hello&lt;IMG id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;oes the activiti engine support the attached process definition?I receive the following error when boundary event timers expire within the multi-instance sub-process:2011-06-29 22:30:32,681 [pool-1-thread-18] ERROR interceptor.CommandContext&amp;nbsp; - Error while closing command contextorg.activiti.</description>
      <pubDate>Thu, 30 Jun 2011 05:49:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-multi-instance-sub-process/m-p/60915#M37713</guid>
      <dc:creator>dwoodbury</dc:creator>
      <dc:date>2011-06-30T05:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multi-instance sub-process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-multi-instance-sub-process/m-p/60916#M37714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That should just work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you put the failing process in a unit test and create a new jira?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 08:39:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-multi-instance-sub-process/m-p/60916#M37714</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-06-30T08:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multi-instance sub-process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-multi-instance-sub-process/m-p/60917#M37715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've not done that before, but I can try.&amp;nbsp; Can you point me to some instructions or examples?&amp;nbsp; I checked the forums but didn't find a thread for newbies with respect to development.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, is it a fair assumption on my part that this is likely an issue with the engine?&amp;nbsp; The sub-process runs autonomously in the engine, creating 5 user-tasks, each with a cancel timer.&amp;nbsp; When the timers expire, the engine throws a concurrency exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason I ask is because I'm thinking the issue has to due with the non-uniqueness of the task and/or timer id.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought I could work-around this issue by giving each user-task a unique name, but I couldn't determine how to parameterize the task and timer names with the loopCounter variable. (or other expression)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to define the sub-process such that the embedded timer and user tasks are assigned unique ID's?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2011 16:07:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-multi-instance-sub-process/m-p/60917#M37715</guid>
      <dc:creator>dwoodbury</dc:creator>
      <dc:date>2011-06-30T16:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multi-instance sub-process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-multi-instance-sub-process/m-p/60918#M37716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;CODE&gt;I've not done that before, but I can try. Can you point me to some instructions or examples? I checked the forums but didn't find a thread for newbies with respect to development.&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;The examples shipped with the Activiti distribution are all Junit test. So best place to start there&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;Also, is it a fair assumption on my part that this is likely an issue with the engine? The sub-process runs autonomously in the engine, creating 5 user-tasks, each with a cancel timer. When the timers expire, the engine throws a concurrency exception.&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;It sure is possible that it is a bug, but that must be confirmed by a failing test case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;Is there a way to define the sub-process such that the embedded timer and user tasks are assigned unique ID's?&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't worry, all entities in Activiti get a unique (internal) id. So that's unlikely going the be the issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jul 2011 07:45:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-multi-instance-sub-process/m-p/60918#M37716</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-07-04T07:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multi-instance sub-process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-multi-instance-sub-process/m-p/60919#M37717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the help.&amp;nbsp; I created a test case for the above process definition and was able to reproduce the exception. The exception occurs when the task following the boundary event timer is a mail service task.&amp;nbsp; If the following task is a user task, no exception is raised. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The JIRA ticket is ACT-901 at the following link:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-901" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-901&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 07:07:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-multi-instance-sub-process/m-p/60919#M37717</guid>
      <dc:creator>dwoodbury</dc:creator>
      <dc:date>2011-08-09T07:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with multi-instance sub-process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-multi-instance-sub-process/m-p/60920#M37718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 12:51:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-multi-instance-sub-process/m-p/60920#M37718</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-08-10T12:51:50Z</dc:date>
    </item>
  </channel>
</rss>

