<?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: Exception Manager and Asyncrhonous Continous in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/exception-manager-and-asyncrhonous-continous/m-p/18152#M8230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Alexis,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Okay I understand your use case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just an idea to solve this. Catch exceptions in your service tasks and set a specific process variable (e.g. executionOccurred is true) when an exception occurs. After each service task make an exclusiveGateway to check on the value of this process variable. If an exception has occurred start a sub process with a call activitiy. In this sub process you can then log stuff and send out an e-mail etc. It's currently not possible to pass variables to a standalone sub process, so I would recommend an embedded sub process for that. Then you can&amp;nbsp; "re-lauch" the main process flow when the sub process is finished and invoke the service task that went wrong again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this provides some help for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tijs&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Dec 2010 10:10:56 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2010-12-30T10:10:56Z</dc:date>
    <item>
      <title>Exception Manager and Asyncrhonous Continous</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-manager-and-asyncrhonous-continous/m-p/18148#M8226</link>
      <description>I would like to know how is the exception manager in Activiti. Exist a way to restore a Process Instance after it's execution was interrupted? I've constructed some flows and I saw that the execution's variables are saved only when a "User Task" will be executed, in other cases (when don't exist any</description>
      <pubDate>Thu, 23 Dec 2010 20:53:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-manager-and-asyncrhonous-continous/m-p/18148#M8226</guid>
      <dc:creator>alexisgc</dc:creator>
      <dc:date>2010-12-23T20:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Exception Manager and Asyncrhonous Continous</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-manager-and-asyncrhonous-continous/m-p/18149#M8227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Exist another post with the same question but without a response. This point is very important to determine if Activiti is prepared to be used in a Production environment.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Please Tom, Joram, could you give us a response? Thank you.&lt;/STRONG&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 15:58:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-manager-and-asyncrhonous-continous/m-p/18149#M8227</guid>
      <dc:creator>croman</dc:creator>
      <dc:date>2010-12-27T15:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Exception Manager and Asyncrhonous Continous</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-manager-and-asyncrhonous-continous/m-p/18150#M8228</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;Good question. When an exception occurs in a flow of activities without a wait state, the process gets rolled back to its begin point and no execution variables are saved. When there is a wait state (like a user task) in the process, and the exception occurs after that wait state, the process is rolled back to the wait state so the execution variables for that wait state are still available in the database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;BPMN 2.0 has throw and catch exception event constructs and this will probably be implemented in the coming months, but that doesn't help you yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So for the current version, you should seek for a way to catch an exception. For example in a Java service task you can of course catch the exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe you can elaborate a bit more about the process you want to implement so I can think together with you to get to a solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tijs&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 22:00:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-manager-and-asyncrhonous-continous/m-p/18150#M8228</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2010-12-29T22:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Exception Manager and Asyncrhonous Continous</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-manager-and-asyncrhonous-continous/m-p/18151#M8229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your answer Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to create a flow composed only by "Service Tasks", I would like to have this two features:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.- When an exception occurs, other flow is launched, this new flow will be composed by tasks like: write log, send e-mail, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.- Save information about the execution variables in the last task executed correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to implement a Console to correct the exception's cause and then give the possibility to re-launch the process from the task where the exception occured, I don't want to execute the flow since the first task because my process is very complex and some task could take a considerable time to be completed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the process that I want to implement, any ideas are much appreciated. Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alexis Gamarra&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2010 04:45:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-manager-and-asyncrhonous-continous/m-p/18151#M8229</guid>
      <dc:creator>alexisgc</dc:creator>
      <dc:date>2010-12-30T04:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Exception Manager and Asyncrhonous Continous</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exception-manager-and-asyncrhonous-continous/m-p/18152#M8230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Alexis,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Okay I understand your use case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just an idea to solve this. Catch exceptions in your service tasks and set a specific process variable (e.g. executionOccurred is true) when an exception occurs. After each service task make an exclusiveGateway to check on the value of this process variable. If an exception has occurred start a sub process with a call activitiy. In this sub process you can then log stuff and send out an e-mail etc. It's currently not possible to pass variables to a standalone sub process, so I would recommend an embedded sub process for that. Then you can&amp;nbsp; "re-lauch" the main process flow when the sub process is finished and invoke the service task that went wrong again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this provides some help for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tijs&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2010 10:10:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exception-manager-and-asyncrhonous-continous/m-p/18152#M8230</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2010-12-30T10:10:56Z</dc:date>
    </item>
  </channel>
</rss>

