<?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: Listener implementation ScriptExecutionListener in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/listener-implementation-scriptexecutionlistener/m-p/118969#M83901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did not implement the listener myself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the Alfresco user task, but not sure with what you mean by 'inside an alfresco-context".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was thinking that I maybe needed to declare a dependency in the pom.xml like&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt; &amp;lt;dependency&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;groupId&amp;gt;org.alfresco.enterprise&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;artifactId&amp;gt;alfresco-core&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;version&amp;gt;${alfresco.version}&amp;lt;/version&amp;gt;&lt;BR /&gt; &amp;lt;/dependency&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;but that gives me errors on the pom.xml.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Nov 2012 13:15:56 GMT</pubDate>
    <dc:creator>patrickvanhoof</dc:creator>
    <dc:date>2012-11-23T13:15:56Z</dc:date>
    <item>
      <title>Listener implementation ScriptExecutionListener</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listener-implementation-scriptexecutionlistener/m-p/118966#M83898</link>
      <description>Hi,I am creating a simple workflow as a test, based on an article by Jeff Potts. I need to define an execution listener on a flow, so I select the Listeners tab, select New, and enter following info:Event = startType = Java classFields&amp;nbsp;&amp;nbsp; Field name = scriptString value / Expression = logger.log("Hel</description>
      <pubDate>Thu, 22 Nov 2012 14:59:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listener-implementation-scriptexecutionlistener/m-p/118966#M83898</guid>
      <dc:creator>patrickvanhoof</dc:creator>
      <dc:date>2012-11-22T14:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Listener implementation ScriptExecutionListener</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listener-implementation-scriptexecutionlistener/m-p/118967#M83899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you implement the ScriptExecutionListener yourself? Does it implement the correct interface? Is it on the classpath? Please answer those basic questions first.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 09:31:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listener-implementation-scriptexecutionlistener/m-p/118967#M83899</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-11-23T09:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Listener implementation ScriptExecutionListener</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listener-implementation-scriptexecutionlistener/m-p/118968#M83900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you're using the Alfresco-tasks, the ScriptExecutionListener can be used INSIDE an alfresco-context. This listener runs Alfresco-javascript and is cannot be used using activiti standalone…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 10:55:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listener-implementation-scriptexecutionlistener/m-p/118968#M83900</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-11-23T10:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Listener implementation ScriptExecutionListener</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listener-implementation-scriptexecutionlistener/m-p/118969#M83901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I did not implement the listener myself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using the Alfresco user task, but not sure with what you mean by 'inside an alfresco-context".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was thinking that I maybe needed to declare a dependency in the pom.xml like&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt; &amp;lt;dependency&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;groupId&amp;gt;org.alfresco.enterprise&amp;lt;/groupId&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;artifactId&amp;gt;alfresco-core&amp;lt;/artifactId&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;version&amp;gt;${alfresco.version}&amp;lt;/version&amp;gt;&lt;BR /&gt; &amp;lt;/dependency&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;but that gives me errors on the pom.xml.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 13:15:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listener-implementation-scriptexecutionlistener/m-p/118969#M83901</guid>
      <dc:creator>patrickvanhoof</dc:creator>
      <dc:date>2012-11-23T13:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Listener implementation ScriptExecutionListener</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listener-implementation-scriptexecutionlistener/m-p/118970#M83902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It will only work if you're deploying the process into an Alfresco, NOT when using activiti standalone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're interested how the class looks, you can look into the Alfresco codebase:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/repo/workflow/activiti/listener/ScriptExecutionListener.html" rel="nofollow noopener noreferrer"&gt;http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/repo/workflow/activiti/listener/ScriptExecutionListener.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/source/java/org/alfresco/repo/workflow/activiti/listener/ScriptExecutionListener.java" rel="nofollow noopener noreferrer"&gt;http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/source/java/org/alfresco/repo/workflow/activiti/listener/ScriptExecutionListener.java&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2012 14:18:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listener-implementation-scriptexecutionlistener/m-p/118970#M83902</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-11-23T14:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Listener implementation ScriptExecutionListener</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listener-implementation-scriptexecutionlistener/m-p/118971#M83903</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;Still not sure what you mean with "the ScriptExecutionListener can be used INSIDE an alfresco-context". What is the Alfresco-context? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I have to manually add the listener in the generated xml and then deploy it to Alfresco?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Patrick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 07:41:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listener-implementation-scriptexecutionlistener/m-p/118971#M83903</guid>
      <dc:creator>patrickvanhoof</dc:creator>
      <dc:date>2012-11-26T07:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Listener implementation ScriptExecutionListener</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listener-implementation-scriptexecutionlistener/m-p/118972#M83904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As I sais, "inside alfresco context" is when you're deploying the process to Alfresco… Activiti is used most of the time as a standalone-library. If you're using the ScriptExecutionListener in a process deployed to alfresco, you DON'T need to add anything special. The class is present in alfresco by default.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So there is no need to "browse for the class" in the eclipse designer… If you want the sources, I gave you the pouter to the SVN.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2012 07:46:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listener-implementation-scriptexecutionlistener/m-p/118972#M83904</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-11-26T07:46:15Z</dc:date>
    </item>
  </channel>
</rss>

