<?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: How to get complete variables of a complete task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-complete-variables-of-a-complete-task/m-p/205026#M158156</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not functionally.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Technically, the first one will be one database transaction, second one will be two database transactions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Jun 2015 09:07:08 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2015-06-16T09:07:08Z</dc:date>
    <item>
      <title>How to get complete variables of a complete task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-complete-variables-of-a-complete-task/m-p/205023#M158153</link>
      <description>hi, i'm trying to create a new task, with variables, and complete it with variables update,&amp;nbsp; and i can't get variables setted in complete call.here is the sample code. //1. create a taskTask task = taskSrv.newTask();task.setName("test execution");task.setOwner(user1.getId());task.setAssignee(user2.g</description>
      <pubDate>Fri, 12 Jun 2015 07:48:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-complete-variables-of-a-complete-task/m-p/205023#M158153</guid>
      <dc:creator>smartxiaofish</dc:creator>
      <dc:date>2015-06-12T07:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get complete variables of a complete task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-complete-variables-of-a-complete-task/m-p/205024#M158154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It seems you have hit a bug in Activiti. I ported your test and fixed it on the current master branch: &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/commit/2e9cfb7cf7cdfe832a1eab4f4afaab8f30644805" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/commit/2e9cfb7cf7cdfe832a1eab4f4afaab8f30644805&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 10:58:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-complete-variables-of-a-complete-task/m-p/205024#M158154</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-06-12T10:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get complete variables of a complete task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-complete-variables-of-a-complete-task/m-p/205025#M158155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thank you for quick reply. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;there is another small question. when i can't get complete variables, i tried setVariables before complete the task. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so, is there any difference between the two approachs?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Map&amp;lt;String, Object&amp;gt; finishVariables = new HashMap&amp;lt;String, Object&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;finishVariables.put("finishedAmount", 40);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;taskSrv.complete(task.getId(), finishVariables);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Map&amp;lt;String, Object&amp;gt; finishVariables = new HashMap&amp;lt;String, Object&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;finishVariables.put("finishedAmount", 40);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;taskSrv.setVariables(task.getId(), finishVariables);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;taskSrv.complete(task.getId());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jun 2015 01:11:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-complete-variables-of-a-complete-task/m-p/205025#M158155</guid>
      <dc:creator>smartxiaofish</dc:creator>
      <dc:date>2015-06-13T01:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get complete variables of a complete task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-complete-variables-of-a-complete-task/m-p/205026#M158156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not functionally.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Technically, the first one will be one database transaction, second one will be two database transactions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 09:07:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-complete-variables-of-a-complete-task/m-p/205026#M158156</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-06-16T09:07:08Z</dc:date>
    </item>
  </channel>
</rss>

