<?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 How to control Task Listeners events when task is rolled back. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-control-task-listeners-events-when-task-is-rolled-back/m-p/208394#M161524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a simple workflow with 2 user tasks(synchronous) with task listener for all types of events(create, assignment, complete). When I am completing userTask1(UT1), userTask2(UT2) will be created and two events will be triggered - UT1 complete &amp;amp; UT2create . When there is some exception occurs during UT2 creation, transaction will be rollback and UT1 will be active but 2 task listener events are already triggered. These events misleading customers in real time( Production ). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to control those events when transaction rollback? Any ideas? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Swamy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jun 2015 15:46:43 GMT</pubDate>
    <dc:creator>swamy2156</dc:creator>
    <dc:date>2015-06-18T15:46:43Z</dc:date>
    <item>
      <title>How to control Task Listeners events when task is rolled back.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-control-task-listeners-events-when-task-is-rolled-back/m-p/208394#M161524</link>
      <description>Hi,I have a simple workflow with 2 user tasks(synchronous) with task listener for all types of events(create, assignment, complete). When I am completing userTask1(UT1), userTask2(UT2) will be created and two events will be triggered - UT1 complete &amp;amp; UT2create . When there is some exception occu</description>
      <pubDate>Thu, 18 Jun 2015 15:46:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-control-task-listeners-events-when-task-is-rolled-back/m-p/208394#M161524</guid>
      <dc:creator>swamy2156</dc:creator>
      <dc:date>2015-06-18T15:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to control Task Listeners events when task is rolled back.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-control-task-listeners-events-when-task-is-rolled-back/m-p/208395#M161525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Swamy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you would have a service task in between the user tasks, the logic in the service would also be executed before a possible rollback of the transaction. The logic that is executed needs to be part of the transaction, so a rollback would also mean a rollback of that logic. If that's not possible for some reason, you would need compensation logic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 18:48:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-control-task-listeners-events-when-task-is-rolled-back/m-p/208395#M161525</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-06-21T18:48:57Z</dc:date>
    </item>
  </channel>
</rss>

