<?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: Reference to FileFolderService in jbpm Workflow Java Action in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/reference-to-filefolderservice-in-jbpm-workflow-java-action/m-p/257862#M210992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for Java actions in jBPM workflows you should be extending the Alfresco-specific JBPMSpringActionHandler class which provides you with a initialiseHandler method that has a BeanFactory as a parameter. Then the example from the Cookbook will work just as in your example - the service reference obtained needs to be put into a member variable in order for the execute method to have access to it, but that is about all the extra wiring you need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Apr 2012 20:14:33 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2012-04-15T20:14:33Z</dc:date>
    <item>
      <title>Reference to FileFolderService in jbpm Workflow Java Action</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reference-to-filefolderservice-in-jbpm-workflow-java-action/m-p/257861#M210991</link>
      <description>Hello all,I want to create folders from Java action in an jbpm Workflow (Alfresco 3.4d). I am a bit confused how to do this in Java since the JS Code is quite simple and it seems to be far more difficult in Java.How best to insert a reference to FileFolderService in a workflow Java action?According</description>
      <pubDate>Sun, 15 Apr 2012 10:59:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reference-to-filefolderservice-in-jbpm-workflow-java-action/m-p/257861#M210991</guid>
      <dc:creator>netboy1977</dc:creator>
      <dc:date>2012-04-15T10:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reference to FileFolderService in jbpm Workflow Java Action</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/reference-to-filefolderservice-in-jbpm-workflow-java-action/m-p/257862#M210992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for Java actions in jBPM workflows you should be extending the Alfresco-specific JBPMSpringActionHandler class which provides you with a initialiseHandler method that has a BeanFactory as a parameter. Then the example from the Cookbook will work just as in your example - the service reference obtained needs to be put into a member variable in order for the execute method to have access to it, but that is about all the extra wiring you need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Apr 2012 20:14:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/reference-to-filefolderservice-in-jbpm-workflow-java-action/m-p/257862#M210992</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-04-15T20:14:33Z</dc:date>
    </item>
  </channel>
</rss>

