<?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: Setting a timeout on a service task in Activiti in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/setting-a-timeout-on-a-service-task-in-activiti/m-p/4527#M2035</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Next step in the workflow needs to be manually restart when previous step executes for than an hour. Is there any configuration to setup in Activiti version 5.17.0 version.&lt;/P&gt;</description>
    <pubDate>Fri, 05 Mar 2021 14:51:51 GMT</pubDate>
    <dc:creator>Venkateshp</dc:creator>
    <dc:date>2021-03-05T14:51:51Z</dc:date>
    <item>
      <title>Setting a timeout on a service task in Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/setting-a-timeout-on-a-service-task-in-activiti/m-p/4523#M2031</link>
      <description>Hi,What is the correct way to increase the timeout associated with Service Tasks only being able to stay 'active' for a set time? Long running tasks executed within a Service Task will cause a timeout due to a transaction to a database being open for too long. While I understand there is the notion</description>
      <pubDate>Wed, 25 Jan 2017 09:43:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/setting-a-timeout-on-a-service-task-in-activiti/m-p/4523#M2031</guid>
      <dc:creator>zlatan316</dc:creator>
      <dc:date>2017-01-25T09:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a timeout on a service task in Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/setting-a-timeout-on-a-service-task-in-activiti/m-p/4524#M2032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I may be missing something, but as far as I know, there is no explicit or implicit timeout associated with service tasks.&lt;/P&gt;&lt;P&gt;Perhaps you are referring to the job executor timeout.&lt;/P&gt;&lt;P&gt;If a service task is marked to run asynchronously or is on a thread that was launched by the job executor, then the job must finish within the designated timeout, otherwise it will be assumed to have failed and a retry will be triggered.&lt;/P&gt;&lt;P&gt;By default, the timer and async service job timeout is 5 minutes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to extend this, you may do so globally in the engine configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A word of warning, long running service calls hold threads active and can lead to thread starvation in the job executor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jan 2017 15:57:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/setting-a-timeout-on-a-service-task-in-activiti/m-p/4524#M2032</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-01-27T15:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a timeout on a service task in Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/setting-a-timeout-on-a-service-task-in-activiti/m-p/4525#M2033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That does not really solve my problem since it seems that job executor timeout will be applied to tasks that are started by timer or perhaps by message and such. I need timeouts for any service task. A service task that immediately follows start event will be executed in the application server(tomcat) threads and I want to make sure malicious service tasks do not exhaust tomcat thread pool or other resources(CPU time, memory, ...).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Oct 2017 12:34:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/setting-a-timeout-on-a-service-task-in-activiti/m-p/4525#M2033</guid>
      <dc:creator>ravenblackdusk</dc:creator>
      <dc:date>2017-10-28T12:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a timeout on a service task in Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/setting-a-timeout-on-a-service-task-in-activiti/m-p/4526#M2034</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I'm suffering the same thing as you did you already resolved? can you share, if it's possible, what the solution was?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 14:10:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/setting-a-timeout-on-a-service-task-in-activiti/m-p/4526#M2034</guid>
      <dc:creator>chiojar</dc:creator>
      <dc:date>2020-01-16T14:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a timeout on a service task in Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/setting-a-timeout-on-a-service-task-in-activiti/m-p/4527#M2035</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Next step in the workflow needs to be manually restart when previous step executes for than an hour. Is there any configuration to setup in Activiti version 5.17.0 version.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 14:51:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/setting-a-timeout-on-a-service-task-in-activiti/m-p/4527#M2035</guid>
      <dc:creator>Venkateshp</dc:creator>
      <dc:date>2021-03-05T14:51:51Z</dc:date>
    </item>
  </channel>
</rss>

