<?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 Creating a new attachment on a task by making a &amp;quot;multipart/form-data&amp;quot; request to activiti rest api (runtime/tasks/{taskId}/attachments) on activiti version 5.22.0 but getting an error : &amp;quot;Failed to serialize to a AttachmentRequest instance&amp;quot; in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/creating-a-new-attachment-on-a-task-by-making-a-quot-multipart/m-p/20986#M9217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to attach a file with a task using activiti rest api call but activiti is returning exception as "Failed to serialize to a AttachmentRequest instance" .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2017 11:49:41 GMT</pubDate>
    <dc:creator>saurabh_gotharw</dc:creator>
    <dc:date>2017-02-27T11:49:41Z</dc:date>
    <item>
      <title>Creating a new attachment on a task by making a "multipart/form-data" request to activiti rest api (runtime/tasks/{taskId}/attachments) on activiti version 5.22.0 but getting an error : "Failed to serialize to a AttachmentRequest instance"</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/creating-a-new-attachment-on-a-task-by-making-a-quot-multipart/m-p/20986#M9217</link>
      <description>I want to attach a file with a task using activiti rest api call but activiti is returning exception as "Failed to serialize to a AttachmentRequest instance" .</description>
      <pubDate>Mon, 27 Feb 2017 11:49:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/creating-a-new-attachment-on-a-task-by-making-a-quot-multipart/m-p/20986#M9217</guid>
      <dc:creator>saurabh_gotharw</dc:creator>
      <dc:date>2017-02-27T11:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new attachment on a task by making a "multipart/form-data" request to activiti rest api (runtime/tasks/{taskId}/attachments) on activiti version 5.22.0 but getting an error : "Failed to serialize to a AttachmentRequest instance"</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/creating-a-new-attachment-on-a-task-by-making-a-quot-multipart/m-p/20987#M9218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saurabh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attempted the following&amp;nbsp;&lt;SPAN&gt;multipart/form-data call&lt;/SPAN&gt;:&lt;BR /&gt;POST&amp;nbsp;/api/runtime/tasks/{taskId}/attachments&lt;BR /&gt;File: &amp;lt;specified file&amp;gt; (I used a .jpeg)&lt;/P&gt;&lt;P&gt;Name: &amp;lt;named the file&amp;gt;&lt;/P&gt;&lt;P&gt;Description: &amp;lt;this field is optional&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I receive a 201 CREATED back from Activiti.&lt;BR /&gt;&lt;BR /&gt;Could you lay out the query you're making with a little bit more detail, and verify that you're trying to attach to a running/live task instance? It would also help if you included the stacktrace from the logs when this exception occurs.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;-JEarles&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 17:33:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/creating-a-new-attachment-on-a-task-by-making-a-quot-multipart/m-p/20987#M9218</guid>
      <dc:creator>jearles</dc:creator>
      <dc:date>2017-02-27T17:33:36Z</dc:date>
    </item>
  </channel>
</rss>

