<?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: epressionManager property in ProcessEngineConfiguration in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/epressionmanager-property-in-processengineconfiguration/m-p/22318#M10683</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks for your quick answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any workaround you can think of, so I can call service methods in Juel ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use groovy scripts in Script Tasks, I can just use static methods, so that is managable,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but Juel does not allow that IIRC, so putting the result of some mehtod calls&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in Forms is not possible, I just want to put some live status into the form&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of a user task which is obtained by a service call.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Feb 2011 12:13:41 GMT</pubDate>
    <dc:creator>ptriller</dc:creator>
    <dc:date>2011-02-09T12:13:41Z</dc:date>
    <item>
      <title>epressionManager property in ProcessEngineConfiguration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/epressionmanager-property-in-processengineconfiguration/m-p/22316#M10681</link>
      <description>Hello,I am trying to give the Tasks in the engine a few context services which I can call from scripts and ELExpression,for this I set an expressionManager inmy activity.cfg.xmlbut after debuggingaround in the code a bit, I saw, that the manager is not used,Is this italways uses the createElContext</description>
      <pubDate>Wed, 09 Feb 2011 11:48:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/epressionmanager-property-in-processengineconfiguration/m-p/22316#M10681</guid>
      <dc:creator>ptriller</dc:creator>
      <dc:date>2011-02-09T11:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: epressionManager property in ProcessEngineConfiguration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/epressionmanager-property-in-processengineconfiguration/m-p/22317#M10682</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;The expression-manager is only used for resolving 'Expressions'. The Scripting uses another mechanism to introduce variables to the script-context, the Bindings (org.activiti.engine.impl.scripting.ExecutionBindings).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These bindings are created "ScriptEngines", and currently don't have an easy access-point to add custom things, related issues:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-97" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-97&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-438" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-438&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 11:56:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/epressionmanager-property-in-processengineconfiguration/m-p/22317#M10682</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-02-09T11:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: epressionManager property in ProcessEngineConfiguration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/epressionmanager-property-in-processengineconfiguration/m-p/22318#M10683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks for your quick answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any workaround you can think of, so I can call service methods in Juel ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use groovy scripts in Script Tasks, I can just use static methods, so that is managable,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but Juel does not allow that IIRC, so putting the result of some mehtod calls&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in Forms is not possible, I just want to put some live status into the form&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;of a user task which is obtained by a service call.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 12:13:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/epressionmanager-property-in-processengineconfiguration/m-p/22318#M10683</guid>
      <dc:creator>ptriller</dc:creator>
      <dc:date>2011-02-09T12:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: epressionManager property in ProcessEngineConfiguration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/epressionmanager-property-in-processengineconfiguration/m-p/22319#M10684</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;Only workaround I can think of is this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can plug in your own FormEngine (pointer on this here: &lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=759&amp;amp;p=3305&amp;amp;hilit=formengine#p3305" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=759&amp;amp;p=3305&amp;amp;hilit=formengine#p3305&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your form-engine should use ScriptEngineManager instead of the Activiti ScriptEngines (take a look in the ScriptEngines.evaluate()), this way you can pass custom "bindings" including your services you want to expose. Offcourse, this way you bypass the activiti way of evaluating scripts, and just use JSR-223.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 12:57:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/epressionmanager-property-in-processengineconfiguration/m-p/22319#M10684</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-02-09T12:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: epressionManager property in ProcessEngineConfiguration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/epressionmanager-property-in-processengineconfiguration/m-p/22320#M10685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, thanks, maybe I'll look into that later,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for now I will just inject a serializable "context" java class into the process that wraps the service calls I need&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with an execution listener. Not the most elegant solution, but it works.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 13:23:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/epressionmanager-property-in-processengineconfiguration/m-p/22320#M10685</guid>
      <dc:creator>ptriller</dc:creator>
      <dc:date>2011-02-09T13:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: epressionManager property in ProcessEngineConfiguration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/epressionmanager-property-in-processengineconfiguration/m-p/22321#M10686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Smuggling services in using a Serializable? Sneaky &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Feb 2011 13:38:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/epressionmanager-property-in-processengineconfiguration/m-p/22321#M10686</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-02-09T13:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: epressionManager property in ProcessEngineConfiguration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/epressionmanager-property-in-processengineconfiguration/m-p/22322#M10687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I will be revisiting this and your request should be tackled in this release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Feb 2011 12:49:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/epressionmanager-property-in-processengineconfiguration/m-p/22322#M10687</guid>
      <dc:creator>tombaeyens</dc:creator>
      <dc:date>2011-02-10T12:49:27Z</dc:date>
    </item>
  </channel>
</rss>

