<?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 Activiti time Out in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-time-out/m-p/232140#M185270</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;It seems activiti-rest process engine is configured to failed task when a task is &amp;gt; to 5 min. I have this problem on a activiti-rest install : all process are retrying tasks endless. Do you know how to change configuration to increase this time out parameter ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jan 2016 16:12:55 GMT</pubDate>
    <dc:creator>r3dge</dc:creator>
    <dc:date>2016-01-12T16:12:55Z</dc:date>
    <item>
      <title>Activiti time Out</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-time-out/m-p/232140#M185270</link>
      <description>Hello,It seems activiti-rest process engine is configured to failed task when a task is &amp;gt; to 5 min. I have this problem on a activiti-rest install : all process are retrying tasks endless. Do you know how to change configuration to increase this time out parameter ?regards,</description>
      <pubDate>Tue, 12 Jan 2016 16:12:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-time-out/m-p/232140#M185270</guid>
      <dc:creator>r3dge</dc:creator>
      <dc:date>2016-01-12T16:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti time Out</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-time-out/m-p/232141#M185271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not sure I'm following here … are you talking about service tasks that take 5 mins? If so, you should make them async as not to block the REST call that is being handled.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 22:07:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-time-out/m-p/232141#M185271</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-01-20T22:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti time Out</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-time-out/m-p/232142#M185272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;sorry if the question is not clear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem was : java service task are canceled if it takes more than 5 min.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I added an event listener on the start event of the process :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; public void onEvent(ActivitiEvent event) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; event.getEngineServices().getProcessEngineConfiguration().getAsyncExecutor().setAsyncJobLockTimeInMillis(900000);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but i'm not sure this is a good practice…&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 16:23:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-time-out/m-p/232142#M185272</guid>
      <dc:creator>r3dge</dc:creator>
      <dc:date>2016-01-22T16:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti time Out</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-time-out/m-p/232143#M185273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, the default lock time if 5 minutes. If your service task is &amp;gt; 5 minutes, it will be seen as 'failed' and it will be acquirable to execute again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That is indeed the way to set the property to change it, we've made that a processEngineConfiguration property on the current master branch, so in the next release this will be easier.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 08:58:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-time-out/m-p/232143#M185273</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-01-25T08:58:38Z</dc:date>
    </item>
  </channel>
</rss>

