<?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 PropertyNotFoundException: Cannot resolve identifier in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114572#M80721</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using demo setup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my test Process&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A href="http://localhost:8080/activiti-explorer/APP/13/MyFirstProcessDiagram.my_test_process.png" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-explorer/APP/13/MyFirstProcessDiagram.my_test_process.png&lt;/A&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;definitions xmlns="&lt;A href="http://www.omg.org/spec/BPMN/20100524/MODEL" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL&lt;/A&gt;" xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;" xmlns:activiti="&lt;A href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer"&gt;http://activiti.org/bpmn&lt;/A&gt;" xmlns:bpmndi="&lt;A href="http://www.omg.org/spec/BPMN/20100524/DI" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/20100524/DI&lt;/A&gt;" xmlns:omgdc="&lt;A href="http://www.omg.org/spec/DD/20100524/DC" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/DD/20100524/DC&lt;/A&gt;" xmlns:omgdi="&lt;A href="http://www.omg.org/spec/DD/20100524/DI" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/DD/20100524/DI&lt;/A&gt;" typeLanguage="&lt;A href="http://www.w3.org/2001/XMLSchema" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;" expressionLanguage="&lt;A href="http://www.w3.org/1999/XPath" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/1999/XPath&lt;/A&gt;" targetNamespace="&lt;A href="http://www.activiti.org/test" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/test&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;process id="my_test_process" name="MyTestProcess"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;startEvent id="startevent1" name="Start" activiti:initiator="kermit"&amp;gt;&amp;lt;/startEvent&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;exclusiveGateway id="exclusivegateway1" name="Exclusive Gateway"&amp;gt;&amp;lt;/exclusiveGateway&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;userTask id="details" name="Enter Details" activiti:assignee="kermit" activiti:candidateUsers="fozzie"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;documentation&amp;gt;This is a Test Form Documentation 2&amp;lt;/documentation&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="user_name" name="Name" type="string"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="salary" name="salary" type="long"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/userTask&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;userTask id="usertask4" name="Gold Member" activiti:assignee="kermit" activiti:candidateUsers="fozzie"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;documentation&amp;gt;This is documentation for Gold Member&amp;lt;/documentation&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/userTask&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;exclusiveGateway id="exclusivegateway2" name="Exclusive Gateway"&amp;gt;&amp;lt;/exclusiveGateway&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;endEvent id="endevent1" name="End"&amp;gt;&amp;lt;/endEvent&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;serviceTask id="servicetask1" name="Platinum Member" activiti:expression="#{platinum.doSomething()}"&amp;gt;&amp;lt;/serviceTask&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow2" name="" sourceRef="details" targetRef="exclusivegateway1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow3" name="salary_flow_a" sourceRef="exclusivegateway1" targetRef="servicetask1"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[${salary &amp;gt; 2000}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow4" name="" sourceRef="startevent1" targetRef="details"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow5" name="salary_flow_b" sourceRef="exclusivegateway1" targetRef="usertask4"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&amp;lt;![CDATA[${salary &amp;lt;= 2000}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow6" name="" sourceRef="usertask4" targetRef="exclusivegateway2"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow7" name="" sourceRef="servicetask1" targetRef="exclusivegateway2"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow8" name="" sourceRef="exclusivegateway2" targetRef="endevent1"&amp;gt;&amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/process&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bpmndi:BPMNDiagram id="BPMNDiagram_my_test_process"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; … &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; …&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; …&lt;BR /&gt;&amp;nbsp; &amp;lt;/bpmndi:BPMNDiagram&amp;gt;&lt;BR /&gt;&amp;lt;/definitions&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;a) I create&amp;nbsp; the deployment artifacts in eclipse (.bar file + .jar file containing the .class for com.osr.test.PlatinumService ).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b) Since i was not sure where to copy the jar in the Demo Setup. Many of the post discussed putting the JAR file to activiti-XXX\WEB-INF\lib folder, some of the posts discuss putting the jar into activiti-explorer\WEB-INF\lib and also activiti-rest\WEB-INF\lib. I got a little confused so i added the jar to all the following locations&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - C:\activiti-5.9\apps\apache-tomcat-6.0.32\lib.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - C:\activiti-5.9\apps\apache-tomcat-6.0.32\lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - C:\activiti-5.9\apps\apache-tomcat-6.0.32\webapps\activiti-explorer\WEB-INF\lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - C:\activiti-5.9\apps\apache-tomcat-6.0.32\webapps\activiti-rest\WEB-INF\lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - C:\activiti-5.9\setup\build\webapps\activiti-explorer.war\WEB-INF\lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; - C:\activiti-5.9\setup\build\webapps\activiti-rest.war\WEB-INF\lib&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where should we put the JAR ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;c) Modified the activiti.cfg.xml in C:\activiti-5.9\setup\build\activiti-cfg to add a custom bean 'platinum'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;beans xmlns="&lt;A href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;" &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xsi:schemaLocation="&lt;A href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&amp;nbsp;&amp;nbsp; &lt;A href="http://www.springframework.org/schema/beans/spring-beans.xsd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans/spring-beans.xsd&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration"&amp;gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Database configurations –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="databaseSchemaUpdate" value="true" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcUrl" value="jdbc:h2:tcp://localhost/activiti" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcDriver" value="org.h2.Driver" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcUsername" value="sa" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcPassword" value="" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jobExecutorActivate" value="true" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;bean id="platinum" class="com.osr.test.PlatinumService"/&amp;gt;&lt;BR /&gt;&amp;lt;/beans&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I noticed that the modified activiti.cfg.xml was overridden by original one everytime i started the server, so the custom bean was removed. So i made a small modification in build.xml. Changed the value of overwrite attribute to false. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;copy todir="${activiti.home}/setup/build/activiti-cfg" overwrite="false"&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;c) Deployed the .bar file in activiti-explorer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;d) started the application using &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;c:\activiti-5.9\setup&amp;gt; ant demo.start&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;and signed in using kermit/kermit. Started my process from processes tab to view the Form showing two input fields for entering Name and Salary. But as soon as i complete the form i get error with following root cause&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Caused by: org.activiti.engine.impl.javax.el.PropertyNotFoundException: Cannot resolve identifier 'platinum'&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Why the activiti engine cannot find my jar to locate the class file for identifier 'platinum' ? What could be the problem, i am struggling since last 3 days.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Oct 2012 19:31:43 GMT</pubDate>
    <dc:creator>shukla_raghav</dc:creator>
    <dc:date>2012-10-13T19:31:43Z</dc:date>
    <item>
      <title>PropertyNotFoundException: Cannot resolve identifier</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114572#M80721</link>
      <description>I am using demo setup.Here is my test Process[img]http://localhost:8080/activiti-explorer/APP/13/MyFirstProcessDiagram.my_test_process.png[/img]&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-</description>
      <pubDate>Sat, 13 Oct 2012 19:31:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114572#M80721</guid>
      <dc:creator>shukla_raghav</dc:creator>
      <dc:date>2012-10-13T19:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: PropertyNotFoundException: Cannot resolve identifier</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114573#M80722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you're just using the activiti.cfg.xml, the other BEANS in the XML are not exposed as beans to activiti expressions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=4722&amp;amp;start=0" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=4722&amp;amp;start=0&lt;/A&gt;&lt;SPAN&gt; for more information on how this mechanism works&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Oct 2012 08:07:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114573#M80722</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-10-15T08:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: PropertyNotFoundException: Cannot resolve identifier</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114574#M80723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply, I did not quite understand the thread that you have sent. Do you mean the only way to expose beans to expressions is through a script by using execution.setVariable(). The user guide in that case is a little confusing. Here is an excerpt from the user guide that i followed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Exposing configuration beans in expressions and scripts&lt;BR /&gt;&lt;BR /&gt;By default, all beans that you specify in the activiti.cfg.xml configuration or in your own spring configuration file are available to expressions and in the scripts. If you want to limit the visibility of beans in your configuration file, then you can configure a property called beans in your process engine configuration. The beans property in ProcessEngineConfiguration is a map. When you specify that property, only beans specified in that map will be visible to expressions and scripts. The exposed beans will be exposed with the names as you specify in that map.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;In simple terms if i say, there are two ways of configuring activiti engine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Non-Spring way of configuration using activiti.cfg.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Spring style way of configuration using activiti-context.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to try both the ways one by one. For now i want to know learn how expose custom beans using the Non-Spring way i.e. activiti.cfg.xml&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 06:18:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114574#M80723</guid>
      <dc:creator>shukla_raghav</dc:creator>
      <dc:date>2012-10-16T06:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: PropertyNotFoundException: Cannot resolve identifier</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114575#M80724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Do you mean the only way to expose beans to expressions is through a script by using execution.setVariable().&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;No, that's not what I mean. There is a property called "beans" on the ProcessEngineConfiguration. This can hold a map&amp;lt;String, Object&amp;gt; mapping a bean name to an object. The object will be available to expressions, using the key it's added in the map. This "beans" property can be used in the standalone-case (activiti.cfg.xml) and in spring-case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On top of that, when using a SpringProcessEngineConfiguration AND a ProcessEngineFactoryBean in your application-context AND you don't specify a "beans" property on the SpringProcessEngineConfiguration, ALL spring-beans will be available in expressions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 09:44:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114575#M80724</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-10-16T09:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: PropertyNotFoundException: Cannot resolve identifier</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114576#M80725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to allow expressions in process templates to use beans in the standalone engine, too. But out of the box it's just supported in the spring configuration. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The org.activiti.engine.impl.el.ExpressionManager doesn't look for beans when he resolves an expression.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I wrote a subclass of org.activiti.engine.impl.el.ExpressionManager, overwriting &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;// see ExpressionManager for the rest of the code&lt;BR /&gt;public MyExpressionManager(Map&amp;lt;Object, Object&amp;gt; beans) {&lt;BR /&gt; super();&lt;BR /&gt; this.beans = beans;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;protected ELResolver createElResolver(VariableScope variableScope) {&lt;BR /&gt;…&lt;BR /&gt; if (beans != null) {&lt;BR /&gt;&amp;nbsp; compositeELResolver.add(new MyReadOnlyMapELResolver(beans));&lt;BR /&gt; }&lt;BR /&gt;…&lt;BR /&gt;} &lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;MyReadOnlyMapELResolver is an extension of org.activiti.engine.impl.javax.el.ELResolver and has access to the map of configured beans:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt; &lt;BR /&gt;public MyReadOnlyMapELResolver(Map&amp;lt;Object, Object&amp;gt; beans) {&lt;BR /&gt; this.wrappedBeans = beans;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;@Override&lt;BR /&gt;public Object getValue(ELContext context, Object base, Object property) {&lt;BR /&gt; if (base == null) {&lt;BR /&gt;&amp;nbsp; if (wrappedBeans.containsKey(property)) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; log.info("getValue für Bean " + property + ": " + wrappedBeans.get(property));&lt;BR /&gt;&amp;nbsp;&amp;nbsp; context.setPropertyResolved(true);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; return wrappedBeans.get(property);&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt; }&lt;BR /&gt; return null;&lt;BR /&gt;}&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;I replace the ExpressionManager with MyExpressionManager in the my own ProcessEngineConfigurationImpl and it works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ingo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2012 12:52:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114576#M80725</guid>
      <dc:creator>ingo_ri</dc:creator>
      <dc:date>2012-10-16T12:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: PropertyNotFoundException: Cannot resolve identifier</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114577#M80726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Glad it works for you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 07:45:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114577#M80726</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-10-17T07:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: PropertyNotFoundException: Cannot resolve identifier</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114578#M80727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi frederik,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you said I changed my activiti.cfg.xml to include &amp;lt;map&amp;gt;. But still i am getting the same exception PropertyNotFoundException.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;beans xmlns="&lt;A href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;" &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xsi:schemaLocation="&lt;A href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&amp;nbsp;&amp;nbsp; &lt;A href="http://www.springframework.org/schema/beans/spring-beans.xsd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans/spring-beans.xsd&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="platinum" class="com.osr.test.PlatinumService" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Database configurations&amp;nbsp; –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="databaseSchemaUpdate" value="true" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcUrl" value="jdbc:h2:tcp://localhost/activiti" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcDriver" value="org.h2.Driver" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcUsername" value="sa" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcPassword" value="" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jobExecutorActivate" value="true" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;BR /&gt; &amp;lt;property name="beans"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;map&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;entry key="platinum" value-ref="platinum" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/map&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/property&amp;gt; &lt;BR /&gt;&lt;BR /&gt;&amp;lt;/beans&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;I would also like to include the how i am deploying the app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. My JAR file included only the com/osr/test/PlatinumService.class. This jar was copied to location C:\activiti-5.9\apps\apache-tomcat-6.0.32\webapps\activiti-rest\WEB-INF\lib&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. i deploy my .bar file using activiti-explorer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is it that i am missing ?&amp;nbsp; &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 09:19:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114578#M80727</guid>
      <dc:creator>shukla_raghav</dc:creator>
      <dc:date>2012-10-19T09:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: PropertyNotFoundException: Cannot resolve identifier</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114579#M80728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please don't post the same question in different topics… Answered your question in the other topic, btw.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 13:19:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114579#M80728</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-10-19T13:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: PropertyNotFoundException: Cannot resolve identifier</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114580#M80729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting a similar error but I am not using any beans property in my activiti.cfg.xml. Instead I am setting the bean as a process variable. "roleInfo" in an instance of that bean. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After creating the deployment artefacts using eclipse I added the jar file in both activiti-explorer or activiti-rest webapp lib (/WEB-INF/lib).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.activiti.engine.impl.javax.el.PropertyNotFoundException: Cannot resolve identifier 'roleInfo'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.juel.AstIdentifier.eval(AstIdentifier.java:83)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.juel.AstProperty.eval(AstProperty.java:52)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.juel.AstEval.eval(AstEval.java:50)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.juel.AstNode.getValue(AstNode.java:26)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.juel.TreeValueExpression.getValue(TreeValueExpression.java:114)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.delegate.ExpressionGetInvocation.invoke(ExpressionGetInvocation.java:33)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:37)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:25)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.el.JuelExpression.getValue(JuelExpression.java:48)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; … 86 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am new to activiti. Can you please tell me what am I missing?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 07:03:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114580#M80729</guid>
      <dc:creator>arihant_banthia</dc:creator>
      <dc:date>2015-04-06T07:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: PropertyNotFoundException: Cannot resolve identifier</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114581#M80730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I found the problem with my implementation. I am not specifying the class of "roleInfo" bean anywhere as it is a custom class. Can you tell me where do that. I did not understand it from the user guide..? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 15:18:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114581#M80730</guid>
      <dc:creator>arihant_banthia</dc:creator>
      <dc:date>2015-04-06T15:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: PropertyNotFoundException: Cannot resolve identifier</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114582#M80731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should be "platinumService" , not "platinum" unless you have named a bean as is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2019 09:01:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/propertynotfoundexception-cannot-resolve-identifier/m-p/114582#M80731</guid>
      <dc:creator>aravindhrs</dc:creator>
      <dc:date>2019-01-21T09:01:15Z</dc:date>
    </item>
  </channel>
</rss>

