<?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: JUEl and Spring activiti engine configuration in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144909#M101313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok but I can't log in into your JIRA server (I don't&amp;nbsp; have any access to and I don't find the administrator contact to request an account). &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Apr 2013 14:15:47 GMT</pubDate>
    <dc:creator>hell_keeper</dc:creator>
    <dc:date>2013-04-29T14:15:47Z</dc:date>
    <item>
      <title>JUEl and Spring activiti engine configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144905#M101309</link>
      <description>Hello, is it possible to configure the JUEL engine inside the activiti engine with a full spring configuration ?For my workflow I need to have a JUEL engine which acceptes null values. JUEL documentation&amp;nbsp; precises that the propertie : "javax.el.nullProperties" should be set to our need. But how can</description>
      <pubDate>Mon, 29 Apr 2013 09:40:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144905#M101309</guid>
      <dc:creator>hell_keeper</dc:creator>
      <dc:date>2013-04-29T09:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: JUEl and Spring activiti engine configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144906#M101310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are not using the default JUEL engine inside the Activiti, but instead use a modified version with a similar syntax. The implementation can be found in org.activiti.engine.impl.javax.el.BeanELResolver for the most part. Can you show in a code example what you are achieving to do with the null values support?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 11:37:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144906#M101310</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-04-29T11:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: JUEl and Spring activiti engine configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144907#M101311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In fact I would have the same behaviour as EL in a JSP page. For example :&amp;nbsp; when ${foo} is used and the foo variable isn't set I prefer to have a null value than an PropertyNotFoundException.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know it's possible to delegate the behaviour to a JAVA class but The workflow is "big" and I prefer the first solution than modify each part that needs this behaviour. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit : this stack trace may help you to illustrate my need,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.activiti.engine.impl.javax.el.PropertyNotFoundException: Cannot resolve identifier 'escalationNeeded'&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.AstUnary$SimpleOperator.eval(AstUnary.java:28)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.juel.AstUnary.eval(AstUnary.java:60)&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:50)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; … 97 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Like in JSP EL, I would like that the unknown field "escalationNeeded" is null than get an exception. The main goal of this is to be able to test&amp;nbsp; "${!escalationNeeded}" like ${escalationNeeded==null || !escalationNeeded} (or something similar to test if the variable exists or not).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 12:37:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144907#M101311</guid>
      <dc:creator>hell_keeper</dc:creator>
      <dc:date>2013-04-29T12:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: JUEl and Spring activiti engine configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144908#M101312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay that makes sense. Could you create a JIRA for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 12:49:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144908#M101312</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-04-29T12:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: JUEl and Spring activiti engine configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144909#M101313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok but I can't log in into your JIRA server (I don't&amp;nbsp; have any access to and I don't find the administrator contact to request an account). &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 14:15:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144909#M101313</guid>
      <dc:creator>hell_keeper</dc:creator>
      <dc:date>2013-04-29T14:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: JUEl and Spring activiti engine configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144910#M101314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To create JIRA issues for Activiti you have to create an account for JIRA at Codehaus. Creating an account for JIRA there is not directly possible. Instead you have to sign up here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://xircles.codehaus.org/signup/" rel="nofollow noopener noreferrer"&gt;https://xircles.codehaus.org/signup/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 14:47:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144910#M101314</guid>
      <dc:creator>sebastian_s</dc:creator>
      <dc:date>2013-04-29T14:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: JUEl and Spring activiti engine configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144911#M101315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your help. I have created a ticket : &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-1667" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-1667&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 08:25:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144911#M101315</guid>
      <dc:creator>hell_keeper</dc:creator>
      <dc:date>2013-04-30T08:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: JUEl and Spring activiti engine configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144912#M101316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Activiti team,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After the initial rush for setting up my workflow I'm looking back and wondering if there's a cleaner way to inject property values loaded by the SpringPropertyPlaceholderConfigurer …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;E.g. to externalize the duration for a timer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since some of the expressions I tried to refer to the properties didn't work I ended up with a [n ugly?] workaround defining a spring bean as a map with key,value entries where I configured -an indirection to- a subset of the properties loaded by spring that I need "within" activiti.&amp;nbsp; The juel expression to this bean is successfully resolved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Omar&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: below, some snippets illustrating my solution/workaround&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– ugly workaround, activiti doesn t seem to resolve properties from PropertyPlaceholderConfigurer –&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;util:map id="activitiProps"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;entry key="emailTo" value="${notification.email.recipients}"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;entry key="emailFrom" value="${email.sender}"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;entry key="peTimeout" value="${workflow.timeout.minutes:60}"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/util:map&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;boundaryEvent id="boundarytimer1" name="Timer" attachedToRef="calculationDone" cancelActivity="false"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timerEventDefinition&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timeDuration&amp;gt;PT${activitiProps.peTimeout}M&amp;lt;/timeDuration&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/timerEventDefinition&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/boundaryEvent&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:field name="from"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:expression&amp;gt;${activitiProps.emailFrom}&amp;lt;/activiti:expression&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activiti:field&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 18:56:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144912#M101316</guid>
      <dc:creator>osilva</dc:creator>
      <dc:date>2014-10-31T18:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: JUEl and Spring activiti engine configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144913#M101317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Activiti indeed doesn't resolve properties from PropertyPlaceholderConfigurer. But it would be nice if it would though, I think the expression manager would need to be made a bit smarter and integrate better with the Spring expression manager.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 10:32:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144913#M101317</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-11-03T10:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: JUEl and Spring activiti engine configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144914#M101318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Joram,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are using Activiti 5.14 and creating el.properties file seems to be not working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've overridden [java]org.activiti.engine.impl.juel.ExpressionFactoryImpl[/java] to support [java]javax.el.nullProperties[/java] property but I wonder whether a better way to do this exists.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 09:05:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144914#M101318</guid>
      <dc:creator>gokceng1</dc:creator>
      <dc:date>2015-08-25T09:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: JUEl and Spring activiti engine configuration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144915#M101319</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;SPAN&gt;if you put a breakpoint in this method can you see the properties loaded from your el.properties file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; public ExpressionFactoryImpl(Profile profile) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Properties properties = loadProperties("el.properties");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; this.store = createTreeStore(1000, profile, properties);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; this.converter = createTypeConverter(properties);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 19:40:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/juel-and-spring-activiti-engine-configuration/m-p/144915#M101319</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-08-25T19:40:29Z</dc:date>
    </item>
  </channel>
</rss>

