<?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: Sychronous serviceTask exception handling in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/sychronous-servicetask-exception-handling/m-p/245735#M198865</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What you have build is quite similar to what you get with an async job out-of-the-box. Service task 2 will only be executed when the service task 1 job is completed successfully. So maybe you can explain a bit more why you can't use an async service task?&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>Thu, 04 Feb 2016 20:13:14 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2016-02-04T20:13:14Z</dc:date>
    <item>
      <title>Sychronous serviceTask exception handling</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sychronous-servicetask-exception-handling/m-p/245734#M198864</link>
      <description>Hey,I have following flow in my process:1. Call serviceTask (via JavaDelegate)2a. If all is ok take next step in process definition2b. If exception occurs BpmnError is thrown and is catched by errorBoundaryEvent. Then flow goes to timer and after given amount of time serviceTask should be retried.st</description>
      <pubDate>Thu, 04 Feb 2016 07:24:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sychronous-servicetask-exception-handling/m-p/245734#M198864</guid>
      <dc:creator>tomekzaremba</dc:creator>
      <dc:date>2016-02-04T07:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sychronous serviceTask exception handling</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sychronous-servicetask-exception-handling/m-p/245735#M198865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What you have build is quite similar to what you get with an async job out-of-the-box. Service task 2 will only be executed when the service task 1 job is completed successfully. So maybe you can explain a bit more why you can't use an async service task?&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>Thu, 04 Feb 2016 20:13:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sychronous-servicetask-exception-handling/m-p/245735#M198865</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2016-02-04T20:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sychronous serviceTask exception handling</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sychronous-servicetask-exception-handling/m-p/245736#M198866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I misunderstood async job concept - it is more than acceptable in my use case. But switching service tasks to be asynchronous caused fail of my integration tests - to be green again I had to add Thread.sleep calls in my tests (wait for async task to end). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to disable asyncExecutorActive in process engine configuration but that caused that none process instance job was started. Have you got any solution for that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 08:18:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sychronous-servicetask-exception-handling/m-p/245736#M198866</guid>
      <dc:creator>tomekzaremba</dc:creator>
      <dc:date>2016-02-05T08:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sychronous serviceTask exception handling</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sychronous-servicetask-exception-handling/m-p/245737#M198867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In our unit tests, there is a method 'waitForAllJobsToBeExecuted' that does what you need without sleeps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 14:35:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sychronous-servicetask-exception-handling/m-p/245737#M198867</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-02-05T14:35:33Z</dc:date>
    </item>
  </channel>
</rss>

