<?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: Create/Update a complex object process variable using RESTful in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/create-update-a-complex-object-process-variable-using-restful/m-p/178471#M131601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply! The test code gave me some ideas, but the problem is I'm calling the REST api from an angularjs client, not from Java. I'm assuming I have 2 options: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. find a way to call restful from angular with content-type application/octet-stream&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. I'm still interested in finding an example to do the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"In the new REST-api, this will be possible because there is a pluggable mechanism for variable-types. It will allow you to plug is some code to create a POJO based on a JSON-representation (exposed as a Map). This will be available in 5.13 of 5.14."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions is much appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Nov 2014 17:01:10 GMT</pubDate>
    <dc:creator>yisa</dc:creator>
    <dc:date>2014-11-11T17:01:10Z</dc:date>
    <item>
      <title>Create/Update a complex object process variable using RESTful</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-update-a-complex-object-process-variable-using-restful/m-p/178468#M131598</link>
      <description>Hi, I'm trying to use this REST api runtime/process-instances/{processInstanceId}/variables/{variableName} to create (and update later) a process variable that's an object. The object is something like the following: {"id": 1,&amp;nbsp; "name": "testName", "externalData": {"id": 2, "name": "String"}} I'm hav</description>
      <pubDate>Sun, 09 Nov 2014 05:28:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-update-a-complex-object-process-variable-using-restful/m-p/178468#M131598</guid>
      <dc:creator>yisa</dc:creator>
      <dc:date>2014-11-09T05:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Create/Update a complex object process variable using RESTful</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-update-a-complex-object-process-variable-using-restful/m-p/178469#M131599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anyone can help me? Please let me know if I need to clarify the question. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 02:18:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-update-a-complex-object-process-variable-using-restful/m-p/178469#M131599</guid>
      <dc:creator>yisa</dc:creator>
      <dc:date>2014-11-11T02:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create/Update a complex object process variable using RESTful</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-update-a-complex-object-process-variable-using-restful/m-p/178470#M131600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Create/update serializable variable through REST API is supported. Have a look on the following jUnit test in activiti source&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;org.activiti.rest.service.api.runtime.ProcessInstanceVariablesCollectionResourceTest#testCreateSingleSerializableProcessVariable&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 08:29:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-update-a-complex-object-process-variable-using-restful/m-p/178470#M131600</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-11-11T08:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Create/Update a complex object process variable using RESTful</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-update-a-complex-object-process-variable-using-restful/m-p/178471#M131601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply! The test code gave me some ideas, but the problem is I'm calling the REST api from an angularjs client, not from Java. I'm assuming I have 2 options: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. find a way to call restful from angular with content-type application/octet-stream&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. I'm still interested in finding an example to do the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"In the new REST-api, this will be possible because there is a pluggable mechanism for variable-types. It will allow you to plug is some code to create a POJO based on a JSON-representation (exposed as a Map). This will be available in 5.13 of 5.14."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions is much appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 17:01:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-update-a-complex-object-process-variable-using-restful/m-p/178471#M131601</guid>
      <dc:creator>yisa</dc:creator>
      <dc:date>2014-11-11T17:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create/Update a complex object process variable using RESTful</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/create-update-a-complex-object-process-variable-using-restful/m-p/178472#M131602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, the example above is that mechanism. You need a system on the server side that knows how to handle the json you posted to the server …&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 22:12:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/create-update-a-complex-object-process-variable-using-restful/m-p/178472#M131602</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-11-19T22:12:00Z</dc:date>
    </item>
  </channel>
</rss>

