<?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: Unknown property used in expression in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression/m-p/16766#M7425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so your java bean does not get initialized on context startup?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jan 2019 04:54:36 GMT</pubDate>
    <dc:creator>abbask01</dc:creator>
    <dc:date>2019-01-07T04:54:36Z</dc:date>
    <item>
      <title>Unknown property used in expression</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression/m-p/16760#M7419</link>
      <description>Hi there.I have a problem.I am using Activiti recently.when I used delegate expression or expression in serviceTask for call class or method, I show this error.org.activiti.engine.ActivitiException: Unknown property used in expression: ${testServiceTask33} at org.activiti.engine.impl.el.JuelExpressi</description>
      <pubDate>Wed, 02 Jan 2019 18:55:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression/m-p/16760#M7419</guid>
      <dc:creator>mon1382</dc:creator>
      <dc:date>2019-01-02T18:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown property used in expression</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression/m-p/16761#M7420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it is looking for a process variable called testServiceTask33. You need to make sure that variable exists and is set in your process - if that is what you are trying to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2019 13:06:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression/m-p/16761#M7420</guid>
      <dc:creator>pault</dc:creator>
      <dc:date>2019-01-03T13:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown property used in expression</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression/m-p/16762#M7421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;STRONG class="" style="color: #8b8b8b; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;PaulT _&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I use delegateExpression. I don`t think&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;it is looking for a process variable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;But I find my problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; color: #727174;"&gt;It was in my define bean. My define bean was :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Configuration&lt;BR /&gt;public class MyAppConfiguration {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Bean&lt;BR /&gt; @Primary&lt;BR /&gt; public ProcessEngine createProcessEngineConfig() {&lt;BR /&gt; return ProcessEngineConfiguration//&lt;BR /&gt; .createStandaloneProcessEngineConfiguration()//&lt;BR /&gt; .setDatabaseSchemaUpdate("update")//&lt;BR /&gt; .setJdbcDriver("com.mysql.jdbc.Driver") //&lt;BR /&gt; .setJdbcUrl("jdbc:mysql://127.0.0.1:3306/activiti?characterEncoding=UTF-8")//&lt;BR /&gt; .setJdbcUsername("root")//&lt;BR /&gt; .setJdbcPassword("123456")//&lt;BR /&gt; .setJobExecutorActivate(true)//&lt;BR /&gt; .buildProcessEngine();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;and another way :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Configuration&lt;BR /&gt;public class MyAppConfiguration {&lt;/P&gt;&lt;P&gt;@Bean&lt;BR /&gt; @Primary&lt;BR /&gt; public ProcessEngine createProcessEngineConfig() {&lt;BR /&gt; return ProcessEngineConfiguration//&lt;BR /&gt; .createStandaloneProcessEngineConfiguration()//&lt;BR /&gt; .setDatabaseSchemaUpdate("create-drop")//&lt;BR /&gt; .setJdbcDriver("org.h2.Driver") //&lt;BR /&gt; .setJdbcUrl("jdbc:h2:mem:testdb;DB_CLOSE_DELAY=1000000")//&lt;BR /&gt; .setJdbcUsername("sa")// .setJdbcPassword("")//&lt;BR /&gt; .setJobExecutorActivate(true)//&lt;BR /&gt; .buildProcessEngine();&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;when I commented that one, my program worked currectly.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2019 08:11:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression/m-p/16762#M7421</guid>
      <dc:creator>mon1382</dc:creator>
      <dc:date>2019-01-04T08:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown property used in expression</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression/m-p/16763#M7422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The exception occurred because Activiti was unable to locate your java bean (testServiceTask33). Make sure that Activiti (engine) and your delegate java bean are inside the same application context and your bean is being initialized by spring context (print some sysouts during its construction)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2019 08:33:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression/m-p/16763#M7422</guid>
      <dc:creator>abbask01</dc:creator>
      <dc:date>2019-01-04T08:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown property used in expression</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression/m-p/16764#M7423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;A _jive_internal="true" class="" data-userid="178329" data-username="abbask01" href="https://community.alfresco.com/people/abbask01" style="color: #8bc34a; background-color: #ffffff; border: 0px; font-weight: 200; text-decoration: none; font-size: 1.286rem;" rel="nofollow noopener noreferrer"&gt;Abbas Kararawala&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I try it. But that way doesn`t work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jan 2019 06:06:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression/m-p/16764#M7423</guid>
      <dc:creator>mon1382</dc:creator>
      <dc:date>2019-01-05T06:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown property used in expression</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression/m-p/16765#M7424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah yes, didn't read the question fully, process variables not relevant in this case.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Jan 2019 12:36:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression/m-p/16765#M7424</guid>
      <dc:creator>pault</dc:creator>
      <dc:date>2019-01-06T12:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown property used in expression</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression/m-p/16766#M7425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so your java bean does not get initialized on context startup?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2019 04:54:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression/m-p/16766#M7425</guid>
      <dc:creator>abbask01</dc:creator>
      <dc:date>2019-01-07T04:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown property used in expression</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression/m-p/16767#M7426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My problem was solved.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I wrote in my configuration class:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;@Configuration&lt;BR /&gt;public class MyAppConfiguration {&lt;/P&gt;&lt;P&gt;@Bean&lt;BR /&gt; public DataSource dataSource() {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SimpleDriverDataSource dataSource = new SimpleDriverDataSource();&lt;BR /&gt; dataSource.setDriverClass(org.h2.Driver.class);&lt;BR /&gt; dataSource.setUrl("jdbc:h2:mem:activiti;DB_CLOSE_DELAY=-1");&lt;BR /&gt; dataSource.setUsername("sa");&lt;BR /&gt; dataSource.setPassword("");&lt;BR /&gt; return dataSource;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;@Bean&lt;BR /&gt; public PlatformTransactionManager transactionManager() {&lt;BR /&gt; return new DataSourceTransactionManager(dataSource());&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;@Bean&lt;BR /&gt; public SpringProcessEngineConfiguration processEngineConfiguration() {&lt;BR /&gt; SpringProcessEngineConfiguration config = new SpringProcessEngineConfiguration();&lt;/P&gt;&lt;P&gt;config.setDataSource(dataSource());&lt;BR /&gt; config.setTransactionManager(transactionManager());&lt;/P&gt;&lt;P&gt;config.setDatabaseSchemaUpdate("create");&lt;BR /&gt; config.setHistory("audit");&lt;BR /&gt; config.setJobExecutorActivate(true);&lt;/P&gt;&lt;P&gt;return config;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;@Bean&lt;BR /&gt; public ProcessEngineFactoryBean processEngine() {&lt;BR /&gt; ProcessEngineFactoryBean factoryBean = new ProcessEngineFactoryBean();&lt;BR /&gt; factoryBean.setProcessEngineConfiguration(processEngineConfiguration());&lt;BR /&gt; return factoryBean;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;@Bean&lt;BR /&gt; public RepositoryService repositoryService(ProcessEngine processEngine) {&lt;BR /&gt; return processEngine.getRepositoryService();&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;@Bean&lt;BR /&gt; public RuntimeService runtimeService(ProcessEngine processEngine) {&lt;BR /&gt; return processEngine.getRuntimeService();&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;@Bean&lt;BR /&gt; public TaskService taskService(ProcessEngine processEngine) {&lt;BR /&gt; return processEngine.getTaskService();&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 19:59:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unknown-property-used-in-expression/m-p/16767#M7426</guid>
      <dc:creator>mon1382</dc:creator>
      <dc:date>2019-01-09T19:59:40Z</dc:date>
    </item>
  </channel>
</rss>

