<?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 Get  reassign and involved People history for task? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132602#M93145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hmm that is probably because the commenting uses the current user:&lt;BR /&gt;&lt;BR /&gt;try to do this:&lt;BR /&gt;&lt;BR /&gt;try {&lt;BR /&gt;&amp;nbsp; identityService.setAuthenticatedUserId("Joram");&lt;BR /&gt;&amp;nbsp; … // your logic&lt;BR /&gt;} finally {&lt;BR /&gt;&amp;nbsp; identityService.setAuthenticatedUserId(null);&lt;BR /&gt;}&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;It works! Thank you very much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Mar 2013 16:52:41 GMT</pubDate>
    <dc:creator>thestrazz</dc:creator>
    <dc:date>2013-03-18T16:52:41Z</dc:date>
    <item>
      <title>How Get  reassign and involved People history for task?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132593#M93136</link>
      <description>hi to allI want to get&amp;nbsp; reassign and involved People history for task,like that in actiivti-explorer that name is events in right panel of tasksI use historyservice for this but I cant find suitable query for this .plz help me for this</description>
      <pubDate>Thu, 14 Mar 2013 05:26:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132593#M93136</guid>
      <dc:creator>shaparak-smmira</dc:creator>
      <dc:date>2013-03-14T05:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: How Get  reassign and involved People history for task?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132594#M93137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Reassigning is done via the taskservice. Changing things in the historytable is falcification and not advised…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 07:12:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132594#M93137</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2013-03-14T07:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: How Get  reassign and involved People history for task?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132595#M93138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks ronald.van.kuijk for your answer &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but I&amp;nbsp; dont have to made change in history table ,i want to get history of assinging task .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;like in activiti-explorer, when you reassign task or involved people ,in right panel "Events" show comment:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Kermit The Frog involved Fozzie Bear as assignee 4 hours ago""&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need code for return this….&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 09:54:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132595#M93138</guid>
      <dc:creator>shaparak-smmira</dc:creator>
      <dc:date>2013-03-14T09:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: How Get  reassign and involved People history for task?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132596#M93139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is stored as a special type of "Comment" in the history (ACT_HI_COMMENT). Use the appropriate API's to fetch these…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 12:55:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132596#M93139</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-03-14T12:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: How Get  reassign and involved People history for task?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132597#M93140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks a lot&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i know it ,but I dont find suitable query for this .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i thick must use historyservice for this case,but i dont have any approach for do it!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;plz help me for this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2013 13:13:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132597#M93140</guid>
      <dc:creator>shaparak-smmira</dc:creator>
      <dc:date>2013-03-14T13:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: How Get  reassign and involved People history for task?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132598#M93141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;List&amp;lt;Comment&amp;gt; getTaskComments(String taskId) on TaskService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, the api to delete a comment is not exposed. You'll need to add your own custom command to do this (I've answered this question already a few times here).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2013 09:20:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132598#M93141</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-03-15T09:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: How Get  reassign and involved People history for task?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132599#M93142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;List&amp;lt;Comment&amp;gt; getTaskComments(String taskId) on TaskService.&lt;BR /&gt;&lt;BR /&gt;However, the api to delete a comment is not exposed. You'll need to add your own custom command to do this (I've answered this question already a few times here).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I Have found the "reassign" event via TaskService#getTaskEvent(String taskId) but the message contains only "null_|_assignee", where i can find the information about the new Assigee?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2013 15:17:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132599#M93142</guid>
      <dc:creator>thestrazz</dc:creator>
      <dc:date>2013-03-15T15:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: How Get  reassign and involved People history for task?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132600#M93143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thank you a lot&amp;nbsp; jbarrez&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;that is help me a lot,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use taskService.setAssignee(task.getId(), "kermit") for reassign task to User ,it is worked&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but in table "act_hi_comment" UserId is null ,what s problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Mar 2013 06:00:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132600#M93143</guid>
      <dc:creator>shaparak-smmira</dc:creator>
      <dc:date>2013-03-16T06:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: How Get  reassign and involved People history for task?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132601#M93144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm that is probably because the commenting uses the current user:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;try to do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;try {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; identityService.setAuthenticatedUserId("Joram");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; … // your logic&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;} finally {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; identityService.setAuthenticatedUserId(null);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 15:45:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132601#M93144</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-03-18T15:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: How Get  reassign and involved People history for task?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132602#M93145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hmm that is probably because the commenting uses the current user:&lt;BR /&gt;&lt;BR /&gt;try to do this:&lt;BR /&gt;&lt;BR /&gt;try {&lt;BR /&gt;&amp;nbsp; identityService.setAuthenticatedUserId("Joram");&lt;BR /&gt;&amp;nbsp; … // your logic&lt;BR /&gt;} finally {&lt;BR /&gt;&amp;nbsp; identityService.setAuthenticatedUserId(null);&lt;BR /&gt;}&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;It works! Thank you very much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 16:52:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132602#M93145</guid>
      <dc:creator>thestrazz</dc:creator>
      <dc:date>2013-03-18T16:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: How Get  reassign and involved People history for task?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132603#M93146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hmm that is probably because the commenting uses the current user:&lt;BR /&gt;&lt;BR /&gt;try to do this:&lt;BR /&gt;&lt;BR /&gt;try {&lt;BR /&gt;&amp;nbsp; identityService.setAuthenticatedUserId("Joram");&lt;BR /&gt;&amp;nbsp; … // your logic&lt;BR /&gt;} finally {&lt;BR /&gt;&amp;nbsp; identityService.setAuthenticatedUserId(null);&lt;BR /&gt;}&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;tanks a lot&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Mar 2013 09:50:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132603#M93146</guid>
      <dc:creator>shaparak-smmira</dc:creator>
      <dc:date>2013-03-31T09:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: How Get  reassign and involved People history for task?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132604#M93147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i want to save comment in data base for each task and my code was it :&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;nbsp; task.setDescription("this is a test");&lt;BR /&gt;&amp;nbsp; task.setAssignee("kermit");&lt;BR /&gt;&amp;nbsp; taskService.saveTask(task);&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;it dont save taskevent in "act_hi_comment" table when I use &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;CODE&gt;taskService.setAssignee(task.getId(),"kermit");&lt;/CODE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it is work and save event to&amp;nbsp; "act_hi_comment" table but when use this code :&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;taskService.setAssignee(task.getId(),"kermit");&lt;BR /&gt;&amp;nbsp; task.setDescription("this is a test");&lt;BR /&gt;&amp;nbsp; taskService.saveTask(task);&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;taskService.saveTask(task) get this error &lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;org.activiti.engine.ActivitiOptimisticLockingException: TaskEntity[401] was updated by another transaction concurrently&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;what's problem in my code?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Apr 2013 07:41:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-get-reassign-and-involved-people-history-for-task/m-p/132604#M93147</guid>
      <dc:creator>shaparak-smmira</dc:creator>
      <dc:date>2013-04-07T07:41:54Z</dc:date>
    </item>
  </channel>
</rss>

