<?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: [Spring] Process scoped bean in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/spring-process-scoped-bean/m-p/183973#M137103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your response. It's good to know that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I correct about the fact, that complex types in proces variables are always mapped to LinkedHashMap&amp;lt;String, Object&amp;gt;?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jun 2014 10:34:34 GMT</pubDate>
    <dc:creator>bartek_andrzejc</dc:creator>
    <dc:date>2014-06-17T10:34:34Z</dc:date>
    <item>
      <title>[Spring] Process scoped bean</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-process-scoped-bean/m-p/183971#M137101</link>
      <description>Hey guys!I'm reading Activiti in Action and I wanted to use process scoped bean because process variables are mapped to LinkedHashMaps. Unfortunatelly while deploying my application Spring told me, that there is no such scope "process". I'd like to know in what version of activiti process scoped bea</description>
      <pubDate>Mon, 09 Jun 2014 10:30:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-process-scoped-bean/m-p/183971#M137101</guid>
      <dc:creator>bartek_andrzejc</dc:creator>
      <dc:date>2014-06-09T10:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: [Spring] Process scoped bean</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-process-scoped-bean/m-p/183972#M137102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is an experimental feature in the activiti-spring module. It's not been maintained for a while, so i wouldnt count on it that it still works.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 10:05:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-process-scoped-bean/m-p/183972#M137102</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-06-17T10:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: [Spring] Process scoped bean</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-process-scoped-bean/m-p/183973#M137103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your response. It's good to know that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I correct about the fact, that complex types in proces variables are always mapped to LinkedHashMap&amp;lt;String, Object&amp;gt;?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 10:34:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-process-scoped-bean/m-p/183973#M137103</guid>
      <dc:creator>bartek_andrzejc</dc:creator>
      <dc:date>2014-06-17T10:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: [Spring] Process scoped bean</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-process-scoped-bean/m-p/183974#M137104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, not at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Java Objects are serialized as byte arrays.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 12:26:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-process-scoped-bean/m-p/183974#M137104</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-06-27T12:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: [Spring] Process scoped bean</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-process-scoped-bean/m-p/183975#M137105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;mmm… I too have your book, and was happy to see the concept of process scoped beans mentioned, and get the above also. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When our app, starts up @PostConstruct gets called on our RunChecksServiceTask bean defined in activiti.cfg.xml,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i've implemented an empty @PostConstruct method, just so I can debug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Later, when an instance of our process is created, and this task gets kicked off, I see that it's a different java instance then that which was constructed by Spring?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm totally confused, the scope of the RunChecksServiceTask is not specified in the activiti.cfg.xml( so it is a singleton). I would have thought that Activiti give back the same instance that was initalised when Spring started up?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;bean id="runChecksServiceTaskBean" class="path to our process package.RunChecksServiceTask"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="executor" ref="executor" /&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="sessionFactory" ref="workFlowSessionFactory" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/bean&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the process xml we have…..&lt;/SPAN&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;serviceTask id="runChecksServiceTask" name="Run Checks" activiti:delegateExpression="${runChecksServiceTaskBean}"&amp;gt; &amp;lt;/serviceTask&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I'm missing something fundamental here.. I'm looking for a Eureka moment. Using Spring 4.11, Activiti 5.14.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In your book you say use the process scoped concept used by sprinf-activity… but here you say 'No' to that. Can you advise what to do instead of scope="process" ? Thanks so much&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 16:30:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-process-scoped-bean/m-p/183975#M137105</guid>
      <dc:creator>johnm</dc:creator>
      <dc:date>2015-02-10T16:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: [Spring] Process scoped bean</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/spring-process-scoped-bean/m-p/183976#M137106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, process scoped beans are not supported. There is also not much use case for it, as a process variable does the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The one in delegateExpression will be singleton yes, but in case state is needed you can inject Expressions in it that can be resolved at runtime.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 12:09:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/spring-process-scoped-bean/m-p/183976#M137106</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-02-18T12:09:13Z</dc:date>
    </item>
  </channel>
</rss>

