<?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: Resume a service task after error occured in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/resume-a-service-task-after-error-occured/m-p/197230#M150360</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From the User-Guide I get the information, that, if an error occurs and the task is async, it'll be stored in the database. Through the throwed error, the execution will be closed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my example the second Service-Tasks throws an BpmnException. &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://picload.org/view/cgrlrll/example_process.png.html" rel="nofollow noopener noreferrer"&gt;[img]http://picload.org/thumbnail/cgrlrll/example_process.png[/img]&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I restart the Process beginning with the Service-Task "more Stuff"? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Aug 2014 14:23:51 GMT</pubDate>
    <dc:creator>cocojack42</dc:creator>
    <dc:date>2014-08-19T14:23:51Z</dc:date>
    <item>
      <title>Resume a service task after error occured</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/resume-a-service-task-after-error-occured/m-p/197228#M150358</link>
      <description>I have a Process based mostly on Service-Tasks. What I want to achieve:1) A servicetask notices an error.2) Servicetask throws an error.3) Error get caught by Event-Sub-Process4) Sub process sends email and starts a userTask (to resolve the error by a user)5) When userTask has been finished restart</description>
      <pubDate>Mon, 18 Aug 2014 11:44:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/resume-a-service-task-after-error-occured/m-p/197228#M150358</guid>
      <dc:creator>cocojack42</dc:creator>
      <dc:date>2014-08-18T11:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Resume a service task after error occured</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/resume-a-service-task-after-error-occured/m-p/197229#M150359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Coco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1-4 are supported by BPMN2.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5 -&amp;gt; You can make service task asynchronous and set retry times to 1. In that case you can restart task manually after the first failure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 04:49:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/resume-a-service-task-after-error-occured/m-p/197229#M150359</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-08-19T04:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Resume a service task after error occured</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/resume-a-service-task-after-error-occured/m-p/197230#M150360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From the User-Guide I get the information, that, if an error occurs and the task is async, it'll be stored in the database. Through the throwed error, the execution will be closed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my example the second Service-Tasks throws an BpmnException. &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://picload.org/view/cgrlrll/example_process.png.html" rel="nofollow noopener noreferrer"&gt;[img]http://picload.org/thumbnail/cgrlrll/example_process.png[/img]&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;How do I restart the Process beginning with the Service-Task "more Stuff"? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 14:23:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/resume-a-service-task-after-error-occured/m-p/197230#M150360</guid>
      <dc:creator>cocojack42</dc:creator>
      <dc:date>2014-08-19T14:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Resume a service task after error occured</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/resume-a-service-task-after-error-occured/m-p/197231#M150361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do I need to add another ServiceTask (and use the TaskService) in order to start the Task?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2014 19:35:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/resume-a-service-task-after-error-occured/m-p/197231#M150361</guid>
      <dc:creator>cocojack42</dc:creator>
      <dc:date>2014-08-19T19:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: Resume a service task after error occured</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/resume-a-service-task-after-error-occured/m-p/197232#M150362</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;BLOCKQUOTE class="jive-quote"&gt;How do I restart the Process beginning with the Service-Task "more Stuff"?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;When "more Stuff" task is asynchronous and it has failed, retries_ in the job are set to 0. Increasing retries_ in the DB should reinvoke "more Stuff" task again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 04:53:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/resume-a-service-task-after-error-occured/m-p/197232#M150362</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-08-20T04:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Resume a service task after error occured</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/resume-a-service-task-after-error-occured/m-p/197233#M150363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;But it only get stored in the ACT_RU_JOB Table, when I don't catch the error thrown by the "more Stuff" task. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess when the error gets catched, everything is ok so far, thus the job "hasn't failed". &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is only stored in the Database when the Error isn't handled by the Process itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Therefore it won't work like the process I posted earlier.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 07:12:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/resume-a-service-task-after-error-occured/m-p/197233#M150363</guid>
      <dc:creator>cocojack42</dc:creator>
      <dc:date>2014-08-20T07:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Resume a service task after error occured</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/resume-a-service-task-after-error-occured/m-p/197234#M150364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I cant find Information how to set the retry count to 1. I just found the "JobEntry.DEFAULT_RETRIES". But I didn't want to edit the engine. Is there another way to change that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 14:47:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/resume-a-service-task-after-error-occured/m-p/197234#M150364</guid>
      <dc:creator>cocojack42</dc:creator>
      <dc:date>2014-08-20T14:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Resume a service task after error occured</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/resume-a-service-task-after-error-occured/m-p/197235#M150365</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;CODE&gt;&lt;BR /&gt;org.activiti.engine.ManagementService#setJobRetries&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;sets the retries for the given job.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/content/how-customize-retries-count-actrujob-table" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/content/how-customize-retries-count-actrujob-table&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 05:10:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/resume-a-service-task-after-error-occured/m-p/197235#M150365</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-08-21T05:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Resume a service task after error occured</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/resume-a-service-task-after-error-occured/m-p/197236#M150366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok thank you, that did work. I can avoid the rollback when I execute the setJobRetries in a new Thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I now start a new Message-Start-Event when an exception occurs. This works ok for me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 10:42:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/resume-a-service-task-after-error-occured/m-p/197236#M150366</guid>
      <dc:creator>cocojack42</dc:creator>
      <dc:date>2014-08-21T10:42:48Z</dc:date>
    </item>
  </channel>
</rss>

