<?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: Deserialisation of complex object fails in activiti in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/deserialisation-of-complex-object-fails-in-activiti/m-p/145551#M101710</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The service task is just for illustration that I can have a complex object as a process variable. What I want to know is, can the rest-api create this complex object based on the json as for example the service task does by means of a factory. What I found out so far is that activiti is able to handle simple objects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a footnote: In previous sofware projects I implemented a rest apis that were able to create such complex objects by using an unmashaller(jackson or jersey) passing it the json and the class model. Same behavior, I would expect from activiti when my class model is deployed to activiti. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps to clarify my request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Marco&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2012 09:32:30 GMT</pubDate>
    <dc:creator>mrhu</dc:creator>
    <dc:date>2012-12-19T09:32:30Z</dc:date>
    <item>
      <title>Deserialisation of complex object fails in activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deserialisation-of-complex-object-fails-in-activiti/m-p/145549#M101708</link>
      <description>Hallo,Given the following serialisation of a mesurement object:{ &amp;nbsp; "deviceID":"AA:FF.04&lt;IMG id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;3&lt;IMG id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;D:90",&amp;nbsp; "deviceName":"A&amp;amp;D_UC321PBT-C",&amp;nbsp; "deviceType":"MDC_DEV_SPEC_PROFILE_SCALE",&amp;nbsp; "measurementEntities" [{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "measurementType":"MDC_MASS_BODY_ACTUAL",&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "meas</description>
      <pubDate>Tue, 18 Dec 2012 15:32:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deserialisation-of-complex-object-fails-in-activiti/m-p/145549#M101708</guid>
      <dc:creator>mrhu</dc:creator>
      <dc:date>2012-12-18T15:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Deserialisation of complex object fails in activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deserialisation-of-complex-object-fails-in-activiti/m-p/145550#M101709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The rest api doesn't do auto json conversion to objects. Or do you mean it's done by a service task of yourself? In that case, the json is just a string passed to the API and it should just work, no?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 17:13:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deserialisation-of-complex-object-fails-in-activiti/m-p/145550#M101709</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-12-18T17:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Deserialisation of complex object fails in activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deserialisation-of-complex-object-fails-in-activiti/m-p/145551#M101710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The service task is just for illustration that I can have a complex object as a process variable. What I want to know is, can the rest-api create this complex object based on the json as for example the service task does by means of a factory. What I found out so far is that activiti is able to handle simple objects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As a footnote: In previous sofware projects I implemented a rest apis that were able to create such complex objects by using an unmashaller(jackson or jersey) passing it the json and the class model. Same behavior, I would expect from activiti when my class model is deployed to activiti. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps to clarify my request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Marco&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 09:32:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deserialisation-of-complex-object-fails-in-activiti/m-p/145551#M101710</guid>
      <dc:creator>mrhu</dc:creator>
      <dc:date>2012-12-19T09:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Deserialisation of complex object fails in activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deserialisation-of-complex-object-fails-in-activiti/m-p/145552#M101711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I do understand it now. However, the rest api currently only accepts primitive types.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 09:17:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deserialisation-of-complex-object-fails-in-activiti/m-p/145552#M101711</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-12-21T09:17:15Z</dc:date>
    </item>
  </channel>
</rss>

