<?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: Timer in intermediateCatchEvent not working in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/timer-in-intermediatecatchevent-not-working/m-p/28749#M12263</link>
    <description>&lt;P&gt;BTW, logging via an event listener shows: the last event received is a TIMER_SCHEDULED event.&lt;/P&gt;&lt;P&gt;Some debugging revealed: ExecutionEntityImpl.ensureTimerJobsInitialized does not find any timer jobs for the execution id. But the execution id seems to be correct.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2020 08:14:23 GMT</pubDate>
    <dc:creator>tdtappe</dc:creator>
    <dc:date>2020-01-15T08:14:23Z</dc:date>
    <item>
      <title>Timer in intermediateCatchEvent not working</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/timer-in-intermediatecatchevent-not-working/m-p/28748#M12262</link>
      <description>&lt;P&gt;I am trying to use a timer event - but without success.&lt;/P&gt;&lt;PRE&gt;&amp;lt;intermediateCatchEvent id="timerCatchEvent"&amp;gt;
  &amp;lt;timerEventDefinition&amp;gt;
    &amp;lt;timeDuration&amp;gt;PT10S&amp;lt;/timeDuration&amp;gt;
  &amp;lt;/timerEventDefinition&amp;gt;
&amp;lt;/intermediateCatchEvent&amp;gt;&lt;/PRE&gt;&lt;P&gt;The workflows stucks on the timeCatchEvent - it never proceeds.&lt;/P&gt;&lt;P&gt;Could it be a configuration problem? My configuration looks like this:&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:jee="http://www.springframework.org/schema/jee"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"&amp;gt;

	&amp;lt;bean id="transactionManager" class="org.springframework.jndi.JndiObjectFactoryBean"&amp;gt;
		&amp;lt;property name="jndiName" value="java:jboss/TransactionManager"&amp;gt;&amp;lt;/property&amp;gt;
		&amp;lt;property name="resourceRef" value="true" /&amp;gt;
	&amp;lt;/bean&amp;gt;

	&amp;lt;bean id="processEngineConfiguration"
		class="org.activiti.cdi.CdiJtaProcessEngineConfiguration"&amp;gt;
		&amp;lt;property name="dataSourceJndiName" value="java:jboss/datasources/ExampleDS" /&amp;gt;
		&amp;lt;property name="databaseType" value="h2" /&amp;gt;
		&amp;lt;property name="transactionManager" ref="transactionManager" /&amp;gt;
		&amp;lt;property name="transactionsExternallyManaged" value="true" /&amp;gt;
		&amp;lt;property name="databaseSchemaUpdate" value="true" /&amp;gt;
	&amp;lt;/bean&amp;gt;

&amp;lt;/beans&amp;gt;&lt;/PRE&gt;&lt;P&gt;I am working with Activiti 6.0.0, JSF 2.2 and CDI 2.0 on a WildFly 17.0.1.Final&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 15:12:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/timer-in-intermediatecatchevent-not-working/m-p/28748#M12262</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2020-01-14T15:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Timer in intermediateCatchEvent not working</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/timer-in-intermediatecatchevent-not-working/m-p/28749#M12263</link>
      <description>&lt;P&gt;BTW, logging via an event listener shows: the last event received is a TIMER_SCHEDULED event.&lt;/P&gt;&lt;P&gt;Some debugging revealed: ExecutionEntityImpl.ensureTimerJobsInitialized does not find any timer jobs for the execution id. But the execution id seems to be correct.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 08:14:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/timer-in-intermediatecatchevent-not-working/m-p/28749#M12263</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2020-01-15T08:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Timer in intermediateCatchEvent not working</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/timer-in-intermediatecatchevent-not-working/m-p/28750#M12264</link>
      <description>&lt;P&gt;Okay. It works now. But to be honest, I don't know why.&lt;/P&gt;&lt;P&gt;What definitely is neccessary is to enable asyncExecutorActivate in the configuration. But I tried that before. Without success. So at that time there must have been something else that didn't work.&lt;/P&gt;&lt;P&gt;During debugging I noticed that "insertTimerJob" wasn't executed (via DefaultSqlSession.update). But now it is! And I'd say I didn't make any significant modifications to my code or activiti configuration. So why didn't it work in the first place? I have no idea.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 10:06:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/timer-in-intermediatecatchevent-not-working/m-p/28750#M12264</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2020-01-15T10:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Timer in intermediateCatchEvent not working</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/timer-in-intermediatecatchevent-not-working/m-p/28751#M12265</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Glad you got it working &amp;amp; thanks for updating your post - it's really helpful for other users.&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2020 10:44:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/timer-in-intermediatecatchevent-not-working/m-p/28751#M12265</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-01-15T10:44:20Z</dc:date>
    </item>
  </channel>
</rss>

