<?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 Unstable Behavior When Putting Variables Separately Before Completing A Task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/unstable-behavior-when-putting-variables-separately-before/m-p/242315#M195445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We have been using activiti for several months now. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;At some part of my code I used to put variables before completing a task instead of calling &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-java line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;taskService.complete(taskId,variableMap);&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I, wrongly, did something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-java line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;runtimeService.setVariables(executionId, variableMap);&lt;BR /&gt;taskService.complete(taskId);&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After months of using this code; Today, process instances started failing after the first exclusive gateway would arrive. Claiming that the variable (which is tested by the condition expressions) is not defined.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The frequency grew until pretty much every attempt to continue a process instance would fail. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I changed the latter code snippet to the former and ran the engine again, It started working properly again. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did not report this as a bug for these reasons:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - It is probably hard to reproduce.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - The atlassian JIRA link on the home page is dead. (Where can I access the issue tracking system, if any exists?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone had similar experiences?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Oct 2016 16:45:36 GMT</pubDate>
    <dc:creator>mohammadhossein</dc:creator>
    <dc:date>2016-10-25T16:45:36Z</dc:date>
    <item>
      <title>Unstable Behavior When Putting Variables Separately Before Completing A Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unstable-behavior-when-putting-variables-separately-before/m-p/242315#M195445</link>
      <description>We have been using activiti for several months now. At some part of my code I used to put variables before completing a task instead of calling taskService.complete(taskId,variableMap);‍‍‍I, wrongly, did something like this:runtimeService.setVariables(executionId, variableMap);taskService.complete(t</description>
      <pubDate>Tue, 25 Oct 2016 16:45:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unstable-behavior-when-putting-variables-separately-before/m-p/242315#M195445</guid>
      <dc:creator>mohammadhossein</dc:creator>
      <dc:date>2016-10-25T16:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unstable Behavior When Putting Variables Separately Before Completing A Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unstable-behavior-when-putting-variables-separately-before/m-p/242316#M195446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mohammad,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;could you please let us know what Activiti version are you using ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;would be great if it's possible for you to write a unit test to show the behaviour you described meantime I will try to reproduce it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you can add issues here: &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/issues" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/issues&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 07:41:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unstable-behavior-when-putting-variables-separately-before/m-p/242316#M195446</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2016-10-26T07:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Unstable Behavior When Putting Variables Separately Before Completing A Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/unstable-behavior-when-putting-variables-separately-before/m-p/242317#M195447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;could you please let us know what Activiti version are you using ?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Activiti : 5.20.0 (The war file that i'm deploying is based on activiti-rest)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Container: Websphere 8.5.5.9&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Java: 6&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DB: DB2 (not sure about the exact version)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OS: Linux Centos 6&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;would be great if it's possible for you to write a unit test to show the behavior you described&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;I'm not at work now. will try to reproduce the behavior when I'm back to work next Saturday.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;you can add issues here: &lt;A href="https://github.com/Activiti/Activiti/issues" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/issues&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Thanks man!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This data might help if you're trying to reproduce it:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The behavior started after a couple of months of running instances and populating the DB; But the quantity of the data was not anything too big. (probably hundreds of thousands of records at most)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It first started misbehaving when developers would run two instances of the same process simultaneously. Then It grew more serious in a matter of hours.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I said, changing that code fixed it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 21:51:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/unstable-behavior-when-putting-variables-separately-before/m-p/242317#M195447</guid>
      <dc:creator>mohammadhossein</dc:creator>
      <dc:date>2016-10-26T21:51:24Z</dc:date>
    </item>
  </channel>
</rss>

