<?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 Using ServiceTasks with TimerCatchingEvents in activiti bpmn workflow behaving inconsistently in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/using-servicetasks-with-timercatchingevents-in-activiti-bpmn/m-p/32213#M13640</link>
    <description>&lt;P&gt;When using ServiceTasks with IntermediateTimerEvents sometimes it did not execute the service task due to exception raised in &lt;STRONG&gt;ACT_RU_JOB&lt;/STRONG&gt; table.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EXCEPTION_MSG_&lt;/STRONG&gt; column in &lt;STRONG&gt;ACT_RU_JOB&lt;/STRONG&gt; table is populated with&amp;nbsp; &lt;STRONG&gt;"Unknown property used in expression: #{serviceTask1.execute(execution)"&lt;/STRONG&gt;&amp;nbsp; as value for that particular job.&lt;/P&gt;&lt;P&gt;Please refer the activiti workflow image i have attached below for clear picture of the usecase.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt; I am using spring-boot microservice using maven to run the workflow.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;spring-boot version: 1.5.5.RELEASE
activity version: 5.22.0

Activity and Connection Pool dependencies in pom.xml:
&amp;lt;dependency&amp;gt;
&amp;lt;groupId&amp;gt;org.activiti&amp;lt;/groupId&amp;gt;
&amp;lt;artifactId&amp;gt;activiti-spring-boot-starter-basic&amp;lt;/artifactId&amp;gt;
&amp;lt;version&amp;gt;${activiti.version}&amp;lt;/version&amp;gt;
&amp;lt;/dependency&amp;gt;
Connection Pooling dependency:
&amp;lt;dependency&amp;gt;
&amp;lt;groupId&amp;gt;org.apache.tomcat&amp;lt;/groupId&amp;gt;
&amp;lt;artifactId&amp;gt;tomcat-jdbc&amp;lt;/artifactId&amp;gt;
&amp;lt;/dependency&amp;gt;

application.properties configuration attached below:
spring.activiti.job-executor-activate=false
spring.activiti.async-executor-enabled=true
spring.activiti.async-executor-activate=true

spring.datasource.tomcat.initial-size=15
spring.datasource.tomcat.max-active=100&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;ANALYSIS&lt;/STRONG&gt;: The error i am getting above is not consistent.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Activiti Workflow Designed with Activiti Designer" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/173i39FDE5322470D5CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Activiti Workflow Designed with Activiti Designer&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Feb 2020 06:21:33 GMT</pubDate>
    <dc:creator>cloudnativeview</dc:creator>
    <dc:date>2020-02-04T06:21:33Z</dc:date>
    <item>
      <title>Using ServiceTasks with TimerCatchingEvents in activiti bpmn workflow behaving inconsistently</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/using-servicetasks-with-timercatchingevents-in-activiti-bpmn/m-p/32213#M13640</link>
      <description>&lt;P&gt;When using ServiceTasks with IntermediateTimerEvents sometimes it did not execute the service task due to exception raised in &lt;STRONG&gt;ACT_RU_JOB&lt;/STRONG&gt; table.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EXCEPTION_MSG_&lt;/STRONG&gt; column in &lt;STRONG&gt;ACT_RU_JOB&lt;/STRONG&gt; table is populated with&amp;nbsp; &lt;STRONG&gt;"Unknown property used in expression: #{serviceTask1.execute(execution)"&lt;/STRONG&gt;&amp;nbsp; as value for that particular job.&lt;/P&gt;&lt;P&gt;Please refer the activiti workflow image i have attached below for clear picture of the usecase.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt; I am using spring-boot microservice using maven to run the workflow.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;spring-boot version: 1.5.5.RELEASE
activity version: 5.22.0

Activity and Connection Pool dependencies in pom.xml:
&amp;lt;dependency&amp;gt;
&amp;lt;groupId&amp;gt;org.activiti&amp;lt;/groupId&amp;gt;
&amp;lt;artifactId&amp;gt;activiti-spring-boot-starter-basic&amp;lt;/artifactId&amp;gt;
&amp;lt;version&amp;gt;${activiti.version}&amp;lt;/version&amp;gt;
&amp;lt;/dependency&amp;gt;
Connection Pooling dependency:
&amp;lt;dependency&amp;gt;
&amp;lt;groupId&amp;gt;org.apache.tomcat&amp;lt;/groupId&amp;gt;
&amp;lt;artifactId&amp;gt;tomcat-jdbc&amp;lt;/artifactId&amp;gt;
&amp;lt;/dependency&amp;gt;

application.properties configuration attached below:
spring.activiti.job-executor-activate=false
spring.activiti.async-executor-enabled=true
spring.activiti.async-executor-activate=true

spring.datasource.tomcat.initial-size=15
spring.datasource.tomcat.max-active=100&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;ANALYSIS&lt;/STRONG&gt;: The error i am getting above is not consistent.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Activiti Workflow Designed with Activiti Designer" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/173i39FDE5322470D5CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Activiti Workflow Designed with Activiti Designer&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 06:21:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/using-servicetasks-with-timercatchingevents-in-activiti-bpmn/m-p/32213#M13640</guid>
      <dc:creator>cloudnativeview</dc:creator>
      <dc:date>2020-02-04T06:21:33Z</dc:date>
    </item>
  </channel>
</rss>

