<?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 Execution of Asynchronous workflow in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/execution-of-asynchronous-workflow/m-p/170443#M123734</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Execution of Asynchronous workflow with example: Workflow configured with serviceTask1, serviceTask2, serviceTask3, serviceTask4, serviceTask5&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UseCase1: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If serviceTask3 have some exception then will have one entry in ACT_RU_JOB with EXCEPTION_MSG_ exception message and if we try to rexecute the workflow using managementService.executeJob(Id) it starts from serviceTask3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;UseCase2: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If serviceTask3 due to some exception wll have one entry in ACT_RU_JOB with EXCEPTION_MSG_ as empty and if we try to rexecute the workflow using managementService.executeJob(Id) its not starting form serviceTask3, Why again it starts form serviceTask1 ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any thing missing to throw the exception in a specified format.?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jan 2014 05:24:43 GMT</pubDate>
    <dc:creator>demouser</dc:creator>
    <dc:date>2014-01-08T05:24:43Z</dc:date>
    <item>
      <title>Execution of Asynchronous workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-of-asynchronous-workflow/m-p/170443#M123734</link>
      <description>Execution of Asynchronous workflow with example: Workflow configured with serviceTask1, serviceTask2, serviceTask3, serviceTask4, serviceTask5UseCase1: If serviceTask3 have some exception then will have one entry in ACT_RU_JOB with EXCEPTION_MSG_ exception message and if we try to rexecute the workf</description>
      <pubDate>Wed, 08 Jan 2014 05:24:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-of-asynchronous-workflow/m-p/170443#M123734</guid>
      <dc:creator>demouser</dc:creator>
      <dc:date>2014-01-08T05:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Execution of Asynchronous workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-of-asynchronous-workflow/m-p/170444#M123735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Depens on how you configured the process: are all the service tasks asynchrounous?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, then you will always roll back to the last stable state, ie the previous service task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If only the first one is async, you will always roll back to the first one.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 09:00:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-of-asynchronous-workflow/m-p/170444#M123735</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-01-08T09:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Execution of Asynchronous workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-of-asynchronous-workflow/m-p/170445#M123736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;All the servicetask conifgured as asynchronous.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 11:38:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-of-asynchronous-workflow/m-p/170445#M123736</guid>
      <dc:creator>demouser</dc:creator>
      <dc:date>2014-01-08T11:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Execution of Asynchronous workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/execution-of-asynchronous-workflow/m-p/170446#M123737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If all service-tasks are configured as asynchronous, each of them will be executed in their own job, each persisting the state to the database when the complete successfully. So the DB will contain a pointer to service task 3 after the failed execution of job. So the next time it executes, it will execute service task 3 again. There is no specific format for the exception to have in order to be picked up as a failed job. When an exception has no message, the EXCEPTION_MSG_ will be empty, but the reference to the stacktrace will be filled in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Double-check if ALL service-tasks are marked as asynchronous. If this is the case, and you still get this behaviour, try ripping out all unneeded code and create a failing unit-test, demonstrating this problem. Then we can look at this asap… See the sticky in the forum for guide on creating a unit-test project.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 09:46:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/execution-of-asynchronous-workflow/m-p/170446#M123737</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-01-09T09:46:12Z</dc:date>
    </item>
  </channel>
</rss>

