<?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: Passing JPA process variable to callactivity in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/passing-jpa-process-variable-to-callactivity/m-p/122684#M86398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Update:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed the example configuration in the book 'Activiti in Action' (a "must read", btw…)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Works like a charm now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for everybody's input!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Mar 2013 19:00:37 GMT</pubDate>
    <dc:creator>hheckel</dc:creator>
    <dc:date>2013-03-07T19:00:37Z</dc:date>
    <item>
      <title>Passing JPA process variable to callactivity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passing-jpa-process-variable-to-callactivity/m-p/122678#M86392</link>
      <description>Hello all,can anybody point me in the right direction, if and how JPA process variables can be passed to a call activity?Thanks and best regards,Holger.</description>
      <pubDate>Thu, 07 Mar 2013 04:10:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passing-jpa-process-variable-to-callactivity/m-p/122678#M86392</guid>
      <dc:creator>hheckel</dc:creator>
      <dc:date>2013-03-07T04:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Passing JPA process variable to callactivity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passing-jpa-process-variable-to-callactivity/m-p/122679#M86393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just define "Input parameters" in "Main config" of your callactivity object by filling 'Source' and 'Target' where source is process variable name ( can be of type JPA or not ) and target is desired variable name in called process.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 06:52:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passing-jpa-process-variable-to-callactivity/m-p/122679#M86393</guid>
      <dc:creator>p4w3l</dc:creator>
      <dc:date>2013-03-07T06:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Passing JPA process variable to callactivity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passing-jpa-process-variable-to-callactivity/m-p/122680#M86394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the quick response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's exactly what I tried, but I receive the following error message:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;…&lt;BR /&gt;Mar 7, 2013 12:58:25 AM org.activiti.engine.impl.interceptor.CommandContext close&lt;BR /&gt;SEVERE: Error while closing command context&lt;BR /&gt;org.activiti.engine.ActivitiException: Couldn't serialize value 'org.apache.openjpa.enhance.com$mycompany$myapp$jpa$model$MyJPAClass$pcsubclass@6ebe8853' in variable 'jpaParameter'&lt;BR /&gt; at org.activiti.engine.impl.variable.SerializableType.serialize(SerializableType.java:98)&lt;BR /&gt; at org.activiti.engine.impl.variable.SerializableType.setValue(SerializableType.java:73)&lt;BR /&gt;…&lt;BR /&gt;Caused by: java.io.NotSerializableException: org.apache.openjpa.enhance.RedefinitionHelper$1&lt;BR /&gt;…&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 08:03:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passing-jpa-process-variable-to-callactivity/m-p/122680#M86394</guid>
      <dc:creator>hheckel</dc:creator>
      <dc:date>2013-03-07T08:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Passing JPA process variable to callactivity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passing-jpa-process-variable-to-callactivity/m-p/122681#M86395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For me it works on EclipseLink. My JPA objects don't implement Serialisable but maybe yours in OpenJPA they should?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 12:40:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passing-jpa-process-variable-to-callactivity/m-p/122681#M86395</guid>
      <dc:creator>p4w3l</dc:creator>
      <dc:date>2013-03-07T12:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Passing JPA process variable to callactivity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passing-jpa-process-variable-to-callactivity/m-p/122682#M86396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Since activiti is using the "SerializableType" instead of the "JPAEntityType", there is something wrong:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Is activiti configured to use JPA (entityManagerFactory set on process-engine configuration)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Is the entity's ID annotated using @ID? see user guide for the requirements to use JPAVariables out of the box&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 15:07:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passing-jpa-process-variable-to-callactivity/m-p/122682#M86396</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-03-07T15:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Passing JPA process variable to callactivity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passing-jpa-process-variable-to-callactivity/m-p/122683#M86397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;- Yes, activiti has been configured to use JPA&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Yes, the entity's ID has been annotated using @Id&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The process variable is created and persisted prior to starting the process instance. The act_ru_variable table shows the variable as 'jpa-entity', it refers to the correct java class and it's data fields are accessible to the engine (gateways in the process definition are executed correctly based on the entity's values).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem occurs, when I am trying to pass the variable as a parameter to the call activity as described above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas? Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 16:40:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passing-jpa-process-variable-to-callactivity/m-p/122683#M86397</guid>
      <dc:creator>hheckel</dc:creator>
      <dc:date>2013-03-07T16:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Passing JPA process variable to callactivity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passing-jpa-process-variable-to-callactivity/m-p/122684#M86398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Update:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I followed the example configuration in the book 'Activiti in Action' (a "must read", btw…)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Works like a charm now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for everybody's input!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 19:00:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passing-jpa-process-variable-to-callactivity/m-p/122684#M86398</guid>
      <dc:creator>hheckel</dc:creator>
      <dc:date>2013-03-07T19:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Passing JPA process variable to callactivity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passing-jpa-process-variable-to-callactivity/m-p/122685#M86399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What was the issue? Can you elaborate, so it might help others?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 21:18:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passing-jpa-process-variable-to-callactivity/m-p/122685#M86399</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2013-03-07T21:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Passing JPA process variable to callactivity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/passing-jpa-process-variable-to-callactivity/m-p/122686#M86400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can't really tell what the problem was, but I did follow the documentation in the book, which seems to go a little more into details compared to the user guide.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2013 21:24:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/passing-jpa-process-variable-to-callactivity/m-p/122686#M86400</guid>
      <dc:creator>hheckel</dc:creator>
      <dc:date>2013-03-07T21:24:29Z</dc:date>
    </item>
  </channel>
</rss>

