<?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: Custom Workflows in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-workflows/m-p/285612#M238742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi - I have the following code in a jar file under lib folder of tomcat that hosts activiti-app.war (Alfresco 1.3)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I login into Alfresco Activiti, I do not see the log messages (I could/should have used log4j logger or something else ).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is what the documentation says on Hook Points:A hook point is a place where you can add custom logic. You do this by writing a class implementing a specific interface and putting that class on the classpath, where it can be found by the classpath component scanning package, com.activiti.extension.bean.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;——————————————————————————&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;package com.activiti.extension.bean;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.springframework.stereotype.Component;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import com.vaadin.ui.LoginForm.LoginEvent;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import com.vaadin.ui.LoginForm.LoginListener;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@Component&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public class MyLoginListener implements LoginListener {&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/**&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;private static final long serialVersionUID = 4329802742677178360L;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/**&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;@Override&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public void onLogin(LoginEvent event) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// TODO Auto-generated method stub&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;System.out.println("MyLoginListener User has logged in");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;———————————————————————–&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my pom dependency entry:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;dependency&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;groupId&amp;gt;org.activiti&amp;lt;/groupId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;artifactId&amp;gt;activiti-explorer&amp;lt;/artifactId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;version&amp;gt;5.14&amp;lt;/version&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/dependency&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The one given in docs is as follows, I could not find it in maven:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;dependencies&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;dependency&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;groupId&amp;gt;com.activiti&amp;lt;/groupId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;artifactId&amp;gt;activiti-app-logic&amp;lt;/artifactId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;version&amp;gt;${suite.version}&amp;lt;/version&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/dependency&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/dependencies&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Aug 2015 11:53:29 GMT</pubDate>
    <dc:creator>maxbaba</dc:creator>
    <dc:date>2015-08-14T11:53:29Z</dc:date>
    <item>
      <title>Custom Workflows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-workflows/m-p/285604#M238734</link>
      <description>I have been trying to get Activiti-based workflows working without success. I have created simple User-task based workflows using Eclipse (LUNA) with the Activiti plug-in. In CE4.2.f they fail to deploy, in CE5.0.a they fail to start. I have tried numerous on-line examples but none of them have work</description>
      <pubDate>Tue, 13 Jan 2015 14:49:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-workflows/m-p/285604#M238734</guid>
      <dc:creator>gilmore_tj</dc:creator>
      <dc:date>2015-01-13T14:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Workflows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-workflows/m-p/285605#M238735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;These are the tutorials I always recomend for everyone trying to learn activiti&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://ecmarchitect.com/alfresco-developer-series-tutorials/workflow/tutorial/tutorial.html" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/alfresco-developer-series-tutorials/workflow/tutorial/tutorial.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://jmuras.com/blog/2012/creation-of-workflow-in-alfresco-using-activiti-step-by-step/" rel="nofollow noopener noreferrer"&gt;http://jmuras.com/blog/2012/creation-of-workflow-in-alfresco-using-activiti-step-by-step/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have already read them, let us know the problems you are facing with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error messages from your log files can help you to get more help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 16:33:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-workflows/m-p/285605#M238735</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2015-01-13T16:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Workflows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-workflows/m-p/285606#M238736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you direct me to where I will find Log messages. I know about Catalina logs but they contain nothing of use.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 08:59:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-workflows/m-p/285606#M238736</guid>
      <dc:creator>gilmore_tj</dc:creator>
      <dc:date>2015-01-14T08:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Workflows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-workflows/m-p/285607#M238737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After extracting one of the OOTB Activiti workflows and renaming it, I am now able to deploy and execute a workflow in CE4.2 and CE5.0.a. However, the example I used was the Adhoc workflow which does very little. When I change the workflow using Eclipse by including a Alfresco Script task that includes a log command it loads but fails to run.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I am after is an Activity workflow (for 5.0.a or 4.2.f) that calls a web service, passing a reference to a file to which the workflow is attached; such that the service can access the file and read its content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively invoke a script that opens the files, reads three properties and sends them to a web service. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 13:25:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-workflows/m-p/285607#M238737</guid>
      <dc:creator>gilmore_tj</dc:creator>
      <dc:date>2015-01-14T13:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Workflows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-workflows/m-p/285608#M238738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In order to see your log messages printed on catalina.out you have to add this configuration on alfresco's log4j.properties file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;log4j.logger.org.alfresco.repo.jscript.ScriptLogger=debug&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Probably that property is already inside that file, so you just have to change its level to debug&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 23:45:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-workflows/m-p/285608#M238738</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2015-01-14T23:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Workflows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-workflows/m-p/285609#M238739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think you can get the answers for your questions on the book Activiti in Action (&lt;/SPAN&gt;&lt;A href="http://www.manning.com/rademakers2/" rel="nofollow noopener noreferrer"&gt;http://www.manning.com/rademakers2/&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chapter 11. Integrating services with a BPMN 2.0 process&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;11.1 Invoking services from a BPMN 2.0 process&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Activiti provides a flexible and extendable API to implement custom logic in BPMN&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;processes, for example, by implementing a Java service task or an event listener. You&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;can use plain Java to code your logic, or you can leverage the wide set of functionality&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;offered by the Spring framework and use expressions or delegate expressions in a service&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;task. This paves the way to also implement integration logic to invoke external&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;services or applications from a BPMN process.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 00:03:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-workflows/m-p/285609#M238739</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2015-01-15T00:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Workflows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-workflows/m-p/285610#M238740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can not make customize workflow in CE 5.0c from this tutorial.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any other way to do this ????&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 05:09:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-workflows/m-p/285610#M238740</guid>
      <dc:creator>maulikjajal</dc:creator>
      <dc:date>2015-02-24T05:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Workflows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-workflows/m-p/285611#M238741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here i got the solution for custom workflow with custom form..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/19645321/alfresco-workflow-share-form" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/19645321/alfresco-workflow-share-form&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 08:37:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-workflows/m-p/285611#M238741</guid>
      <dc:creator>maulikjajal</dc:creator>
      <dc:date>2015-02-24T08:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Workflows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-workflows/m-p/285612#M238742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi - I have the following code in a jar file under lib folder of tomcat that hosts activiti-app.war (Alfresco 1.3)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I login into Alfresco Activiti, I do not see the log messages (I could/should have used log4j logger or something else ).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is what the documentation says on Hook Points:A hook point is a place where you can add custom logic. You do this by writing a class implementing a specific interface and putting that class on the classpath, where it can be found by the classpath component scanning package, com.activiti.extension.bean.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;——————————————————————————&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;package com.activiti.extension.bean;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.springframework.stereotype.Component;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import com.vaadin.ui.LoginForm.LoginEvent;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import com.vaadin.ui.LoginForm.LoginListener;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@Component&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public class MyLoginListener implements LoginListener {&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/**&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;private static final long serialVersionUID = 4329802742677178360L;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/**&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;*/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;@Override&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public void onLogin(LoginEvent event) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// TODO Auto-generated method stub&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;System.out.println("MyLoginListener User has logged in");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;———————————————————————–&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my pom dependency entry:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;dependency&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;groupId&amp;gt;org.activiti&amp;lt;/groupId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;artifactId&amp;gt;activiti-explorer&amp;lt;/artifactId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;version&amp;gt;5.14&amp;lt;/version&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/dependency&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The one given in docs is as follows, I could not find it in maven:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;dependencies&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;dependency&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;groupId&amp;gt;com.activiti&amp;lt;/groupId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;artifactId&amp;gt;activiti-app-logic&amp;lt;/artifactId&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;version&amp;gt;${suite.version}&amp;lt;/version&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/dependency&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/dependencies&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2015 11:53:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-workflows/m-p/285612#M238742</guid>
      <dc:creator>maxbaba</dc:creator>
      <dc:date>2015-08-14T11:53:29Z</dc:date>
    </item>
  </channel>
</rss>

