<?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: null taskId for task variables in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71028#M45939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I edited it a little&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2011 20:25:18 GMT</pubDate>
    <dc:creator>ronald_van_kuij</dc:creator>
    <dc:date>2011-12-06T20:25:18Z</dc:date>
    <item>
      <title>null taskId for task variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71021#M45932</link>
      <description>I see that saving a task with this service taskService.complete(task.getId(),vars);‍ortaskService.setVariables(task.getId(), vars);‍will not save taskId in TASK_ID_ column.Only taskService.setVariablesLocal(task.getId(), vars);‍will do the trick but local task variables haven't the same scope of tas</description>
      <pubDate>Fri, 02 Dec 2011 15:54:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71021#M45932</guid>
      <dc:creator>elsarfhem</dc:creator>
      <dc:date>2011-12-02T15:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: null taskId for task variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71022#M45933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think the behaviour you see is correct, or at least as intended. Local variables have the scope of the task, others have the scope of the execution. What behaviour did you expect?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 18:32:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71022#M45933</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-12-02T18:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: null taskId for task variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71023#M45934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;At the beginning I thought that first method links together variables and task, not only execution because I see task id in the method's signature.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This way, I have to save them two times: first time as local task variable to keep track into historical task-var relationship, second time as process variable to make them visible to the next task. Is it right?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 19:00:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71023#M45934</guid>
      <dc:creator>elsarfhem</dc:creator>
      <dc:date>2011-12-02T19:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: null taskId for task variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71024#M45935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So you do not actually need task local variables, you just want to know what task was responsible for a specific update of a variable? I think it should indeed not be needed to use two api calls for this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is your history set to full?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Dec 2011 18:27:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71024#M45935</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-12-03T18:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: null taskId for task variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71025#M45936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;yes my history is set to full, but the information lacks either in ACT_RU_VARIABLE.TASK_ID_ so before activiti passes it to history I think.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 11:38:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71025#M45936</guid>
      <dc:creator>elsarfhem</dc:creator>
      <dc:date>2011-12-05T11:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: null taskId for task variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71026#M45937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sounds like a fair request… know which task set a process variable without using task local variables and not requirering using two almost similar api calls to achieve this. Please file a jira issue. Could be that it is rejected and using the two api calls is the way to go, but I'm just not sure.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 17:20:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71026#M45937</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-12-05T17:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: null taskId for task variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71027#M45938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok, i opened a Jira issue here &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-1014" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-1014&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 13:25:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71027#M45938</guid>
      <dc:creator>elsarfhem</dc:creator>
      <dc:date>2011-12-06T13:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: null taskId for task variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71028#M45939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I edited it a little&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 20:25:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71028#M45939</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-12-06T20:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: null taskId for task variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71029#M45940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Doesn't calling taskservice.complete cause the task to be removed from runtime tables? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If yes, then we are talking about only history. It is possible to relate variable and task in history when taskService.complete is called by filling in&amp;nbsp;&amp;nbsp;&amp;nbsp; act_hi_varinst.TASK_ID_&amp;nbsp; accordingly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But then, how we should distinguish in future the scope of original variable ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 09:39:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71029#M45940</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2013-01-11T09:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: null taskId for task variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71030#M45941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see this JIRA was closed as "Not a Bug".&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there another way for us to tell which variables were provided when a particular task was completed?&amp;nbsp; Using setVariablesLocal doesn't work because it reduces the scope of the variables, as mentioned by elsarfhem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Apr 2013 16:22:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/null-taskid-for-task-variables/m-p/71030#M45941</guid>
      <dc:creator>groopk</dc:creator>
      <dc:date>2013-04-09T16:22:48Z</dc:date>
    </item>
  </channel>
</rss>

