<?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 Custom ELResolver not used on job execution in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-elresolver-not-used-on-job-execution/m-p/168310#M121781</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I plugged a custom ExpressionManager and ELResolver into Activiti in order to provide special values that should be available in every expression used by the process. It worked very well so far. The method &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;getValue()&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; is called whenever an expression with a property is evaluated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, today I tried using such a custom expression in the documentation field of a task fired by a timer catch event. The task never got instantiated. Field &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;exception_msg&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; of the corresponding job in table &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;act_ru_job&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; contains: &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;Unknown property used in expression: bla ${foo}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; (where "foo" is my custom property). Debugging the code, I realized &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;getValue()&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt; of my custom ELResolver was never called.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a known issue? Do jobs use a different ExpressionManager?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Benjamin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Feb 2014 11:58:34 GMT</pubDate>
    <dc:creator>helgoboss</dc:creator>
    <dc:date>2014-02-28T11:58:34Z</dc:date>
    <item>
      <title>Custom ELResolver not used on job execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-elresolver-not-used-on-job-execution/m-p/168310#M121781</link>
      <description>I plugged a custom ExpressionManager and ELResolver into Activiti in order to provide special values that should be available in every expression used by the process. It worked very well so far. The method getValue()‍ is called whenever an expression with a property is evaluated.However, today I tri</description>
      <pubDate>Fri, 28 Feb 2014 11:58:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-elresolver-not-used-on-job-execution/m-p/168310#M121781</guid>
      <dc:creator>helgoboss</dc:creator>
      <dc:date>2014-02-28T11:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Custom ELResolver not used on job execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-elresolver-not-used-on-job-execution/m-p/168311#M121782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Found the problem. I had Activiti Modeler running at the same time in another Tomcat. It picked up all the jobs. It didn't have any custom ELResolvers configured, so it couldn't resolve the property.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 12:28:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-elresolver-not-used-on-job-execution/m-p/168311#M121782</guid>
      <dc:creator>helgoboss</dc:creator>
      <dc:date>2014-02-28T12:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Custom ELResolver not used on job execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-elresolver-not-used-on-job-execution/m-p/168312#M121783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah, that makes sense &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for posting back the solution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 09:51:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-elresolver-not-used-on-job-execution/m-p/168312#M121783</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-03-10T09:51:27Z</dc:date>
    </item>
  </channel>
</rss>

