<?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: ActivitiException causing rollback inspite of catching it in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activitiexception-causing-rollback-inspite-of-catching-it/m-p/194063#M147193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Why is your process instance throwing an ActivitiException? Is it happening in a service task? Then you could catch the Exception there. You can also use asynchronous activities to commit the transaction after the process instance is started.&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>Mon, 21 Jul 2014 10:11:18 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2014-07-21T10:11:18Z</dc:date>
    <item>
      <title>ActivitiException causing rollback inspite of catching it</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activitiexception-causing-rollback-inspite-of-catching-it/m-p/194062#M147192</link>
      <description>Hi,We are using Spring+Activiti+JTA in our application. The method that calls RuntimeService.startProcessInstanceByKey has a try catch for ActivitiException as we do not want the transaction to be rolled back when the exception occurs. But everytime ActivitException occurs I see that the transaction</description>
      <pubDate>Wed, 16 Jul 2014 18:29:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activitiexception-causing-rollback-inspite-of-catching-it/m-p/194062#M147192</guid>
      <dc:creator>hepci123</dc:creator>
      <dc:date>2014-07-16T18:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: ActivitiException causing rollback inspite of catching it</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activitiexception-causing-rollback-inspite-of-catching-it/m-p/194063#M147193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Why is your process instance throwing an ActivitiException? Is it happening in a service task? Then you could catch the Exception there. You can also use asynchronous activities to commit the transaction after the process instance is started.&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>Mon, 21 Jul 2014 10:11:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activitiexception-causing-rollback-inspite-of-catching-it/m-p/194063#M147193</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-07-21T10:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: ActivitiException causing rollback inspite of catching it</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activitiexception-causing-rollback-inspite-of-catching-it/m-p/194064#M147194</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;Thank you for your response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A gateway in one of our workflows was missing default flow so everytime the gateway conditions are not met, activiti is throwing below exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.engine.ActivitiException: No outgoing sequence flow of the exclusive gateway 'actionBlockGateway' could be selected for continuing the process&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even though poorly constructed workflow caused this exception in the above scenario, we still need to handle such scenarios as our customers are creating these and may not be as familiar with activiti.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our workflow tasks need to be executed sequentially so I don't think using async tasks suits our implementation. We have disabled JTA on the queue for now as we had a release. We'll soon need to figure out how to stop this loop due to Spring rollback on ActivitiException and release a patch. Any help in this regard is great!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 20:39:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activitiexception-causing-rollback-inspite-of-catching-it/m-p/194064#M147194</guid>
      <dc:creator>hepci123</dc:creator>
      <dc:date>2014-07-22T20:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: ActivitiException causing rollback inspite of catching it</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activitiexception-causing-rollback-inspite-of-catching-it/m-p/194065#M147195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If your transaction management is configured correctly, this should work. I suspect a misconfiguration. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How does your transaction config look like (Spring-side and Actviiti-side) ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An alternative is to add your own command (copied from the regular start process instance command, but now with an exception catch), execute it through managementService.executeCommand.(). &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2014 07:56:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activitiexception-causing-rollback-inspite-of-catching-it/m-p/194065#M147195</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-07-25T07:56:48Z</dc:date>
    </item>
  </channel>
</rss>

