<?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 Executing Asynchronous Processes from exception point in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168267#M121739</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have multiple service tasks in my process. I'm not able to re-execute the job from exception point of particular task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using ''managementService.executeJob(id)'' for executing the particular job, here it is executing the process from service task1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to run the job from the exeception point of a process ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance…&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jan 2014 13:29:54 GMT</pubDate>
    <dc:creator>sankardunga</dc:creator>
    <dc:date>2014-01-03T13:29:54Z</dc:date>
    <item>
      <title>Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168267#M121739</link>
      <description>Hello,I have multiple service tasks in my process. I'm not able to re-execute the job from exception point of particular task.I'm using ''managementService.executeJob(id)'' for executing the particular job, here it is executing the process from service task1.How to run the job from the exeception po</description>
      <pubDate>Fri, 03 Jan 2014 13:29:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168267#M121739</guid>
      <dc:creator>sankardunga</dc:creator>
      <dc:date>2014-01-03T13:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168268#M121740</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;If you want to run it from the exception point, is that a service task as well?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you could make that service task asynchronous.&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>Sun, 05 Jan 2014 21:04:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168268#M121740</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-01-05T21:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168269#M121741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for reply…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ya, I made it asynchronous, This the format I have written in my process&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&amp;lt;serviceTask id="id" name="testTask" activiti:async="true" activiti:expression="#{test.processEvent(data)}"&amp;gt;&amp;lt;/serviceTask&amp;gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is creating a job entry in the data table whenever exception occurs, and after that I'm trying to re execute this job using&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''managementService.executeJob(id)''&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Its starting the process from service task one instead . Is there any other api or sysntax modification required to start the service from the exception point ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 05:36:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168269#M121741</guid>
      <dc:creator>sankardunga</dc:creator>
      <dc:date>2014-01-06T05:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168270#M121742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here I'm using my own exception handlers, I don't whether it ll be the reason for this problem or not. If that is the reason, please give me a way to handle the exceptions. Please help me in scenario…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 10:50:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168270#M121742</guid>
      <dc:creator>sankardunga</dc:creator>
      <dc:date>2014-01-06T10:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168271#M121743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To run the job automatically, you will need to start the job executor (it's a configuration option). No need to call the managementService then when it's running.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 12:31:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168271#M121743</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-01-06T12:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168272#M121744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi jbarrez,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is not about 'How to run jobs'. If it is possible can you please give me the relative answer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 13:34:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168272#M121744</guid>
      <dc:creator>sankardunga</dc:creator>
      <dc:date>2014-01-06T13:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168273#M121745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; My question is not about 'How to run jobs'. If it is possible can you please give me the relative answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Excuse me. I was confused by your hard to follow explanation of your problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;Its starting the process from service task one instead . Is there any other api or sysntax modification required to start the service from the exception point ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hence my response. If you have an exception in a service task that is asynchronous, it will be in a job with a retries count 0. You will need to execute the job yourself at that point. But then again, I really don't understand the problem you are describing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 08:23:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168273#M121745</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-01-08T08:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168274#M121746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks jbarrez.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I understood the asynchronous process flow, its going fine.&amp;nbsp; And I faced issues because of two process engines running at same time in my system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And is there any&amp;nbsp; way to read the runtime variable data and also serialized data from act_ge_bytearray?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I mean like "SELECT * FROM act_ru_variable WHERE PROC_INST_ID_ = ?"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 06:32:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168274#M121746</guid>
      <dc:creator>sankardunga</dc:creator>
      <dc:date>2014-01-09T06:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168275#M121747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Variables can be read through the API, using runtimeService.getVariables(executionId) or inside a JavaDelegate/listener, use DelegateExecution.getVariables(). The returned map contains all variables, including deserialized POJO's and byte-arrays form ACT_BE_BYTEARRAY.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 11:07:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168275#M121747</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-01-09T11:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168276#M121748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks man, its very helpful to me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One more doubt, how can I pass my own exceptions messages to the activiti table. Right now when some exception occurs it is placing activiti exception message in database(ie in ACT_RU_JOB table) instead of user-defined exception message. I mean the following exception is placing when exception occurs in service task,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Error while evaluating expression: #{server.processEvent(data)}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but I want to place my own eception, How can I achieve this ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 06:51:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168276#M121748</guid>
      <dc:creator>sankardunga</dc:creator>
      <dc:date>2014-01-10T06:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168277#M121749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Depends on where the exception is thrown… It looks like an exception occuring as part of a service-task execution. You won't be able to alter that message. If you use a java-delegate, you can throw any exception you want from within the execute() method.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 10:34:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168277#M121749</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-01-10T10:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168278#M121750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks frederikheremans. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ya, I'm trying to throw my own exception in the service task which is not implementing java-delegate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And here I'm looking for an option to store my custom exception in Database. Isn't it possible at all in activiti without using java-delegate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please suggest me some approach here ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 11:01:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168278#M121750</guid>
      <dc:creator>sankardunga</dc:creator>
      <dc:date>2014-01-10T11:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168279#M121751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you using an expression or delegate expression then? If it throws a custom exception, this exception should be stored in the job exception message by default. What do you see in the job exception message?&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>Fri, 10 Jan 2014 11:27:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168279#M121751</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-01-10T11:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168280#M121752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using expression but not delegate expression. I'm getting following value in ACT_RU_JOB table&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; " Error while evaluating expression: #{createServer .processEvent(data)} "&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here I'm not implementing the JavaDelegate behavior to my class. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My class snippet looks this &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public class CreateServer&amp;nbsp; extends AbstractHandler {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; protected void execute(IEvent event)&amp;nbsp; throws ActivitiException {&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; CreateServer&amp;nbsp; createServer = null;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; if(event instanceof CreateServer&amp;nbsp; ){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; createServer = (CreateServer&amp;nbsp; ) event;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; myMethod(createServer );&amp;nbsp;&amp;nbsp;&amp;nbsp; //Custom Exception thrown in this method&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can I store my custom exception message here ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 11:52:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168280#M121752</guid>
      <dc:creator>sankardunga</dc:creator>
      <dc:date>2014-01-10T11:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168281#M121753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The delegate expression will always be executed by JUEL. Any exceptions that occur there will be wrapped. You could use the cause of the exception, found in the referenced stacktrace byte-array entity. However, the exception-message in the ACT_RU_JOB row wil still be the message of the outer JUEL-exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An option to modify the message is to override the org.activiti.engine.impl.jobexecutor.DefaultFailedJobCommandFactory class, and return a custom DecrementJobRetriesCmd that populates the exception-message based on what you want. Currently, it does this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; if(exception != null) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; job.setExceptionMessage(exception.getMessage());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; job.setExceptionStacktrace(getExceptionStacktrace());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Plug your custom implementation of the org.activiti.engine.impl.jobexecutor.DefaultFailedJobCommandFactory in the "failedJobCommandFactory" property of the process engine configuration.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jan 2014 12:33:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168281#M121753</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-01-10T12:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168282#M121754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks frederikheremans. Now I gonna ask one poor doubt … &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I need to implement 'FailedJobCommandFactory' interface in my exception class to override the "getCommand((jobId, exception)" method ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any other configuration is required ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me where &amp;amp; how can override this class ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 07:42:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168282#M121754</guid>
      <dc:creator>sankardunga</dc:creator>
      <dc:date>2014-01-16T07:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168283#M121755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can extend the DefaultFailedJobCommandFactory and override the getCommand() method, indeed. No other configuration required, other than setting this factory on your configuration.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 08:27:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168283#M121755</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-01-16T08:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168284#M121756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is my exception class and I override the "DefaultFailedJobCommandFactory " class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public class ValidateUpdateServerRequestException extends DefaultFailedJobCommandFactory {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private static final long serialVersionUID = -5681708327398999347L;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; public Command&amp;lt;Object&amp;gt; getCommand(String jobId, Throwable exception) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return new DecrementJobRetriesCmd(jobId, exception);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to do factory bean configuration in xml ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can please give me example ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 09:16:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168284#M121756</guid>
      <dc:creator>sankardunga</dc:creator>
      <dc:date>2014-01-16T09:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168285#M121757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use the property "failedJobCommandFactory" to set a reference to your factory:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; &amp;lt;property name="failedJobCommandFactory"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;bean class="com.whatever.ValidateUpdateServerRequestException" /&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&lt;BR /&gt;[code]&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 11:02:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168285#M121757</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-01-16T11:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Executing Asynchronous Processes from exception point</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168286#M121758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ya, I have override the class &amp;amp; set the configuration. It is coming to the overridden class. But still I'm getting the same 'ActivitiException stacktrace' with Throwable class type parameter of getCommand() method instead of whatever I'm throwing from my class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not getting from where it is setting this exception ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 06:36:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/executing-asynchronous-processes-from-exception-point/m-p/168286#M121758</guid>
      <dc:creator>sankardunga</dc:creator>
      <dc:date>2014-01-17T06:36:03Z</dc:date>
    </item>
  </channel>
</rss>

