<?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 how to add a document which is part of one process task to another programmatically? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-a-document-which-is-part-of-one-process-task-to/m-p/38660#M16263</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement wherein I have to add/link a document which is part of a process task into another similar already running process task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did some research and I believe I could use the the REST api's :&lt;/P&gt;&lt;P&gt;either link the document to the task:&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://localhost:8080/activiti-app/api/enterprise/tasks/" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-app/api/enterprise/tasks/&lt;/A&gt;{taskId}/content&lt;BR /&gt;&lt;BR /&gt;OR&lt;BR /&gt;&lt;BR /&gt;link the document to the processL&lt;BR /&gt;&lt;PRE&gt;&lt;A href="http://localhost:8080/activiti-app/api/enterprise/process-instances/{processInstanceId}/content" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-app/api/enterprise/process-instances/{processInstanceId}/content&lt;/A&gt;&lt;A href="http://localhost:8080/activiti-app/api/enterprise/process-instances/123/content" rel="nofollow noopener noreferrer"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/A&gt;In either case I was not able to find how I could mention the form field id into which the document has to be Added.&lt;BR /&gt;The document is not a relatedContent.&lt;BR /&gt;&lt;BR /&gt;Any pointers could help... Thank you...!&lt;BR /&gt;&lt;BR /&gt;Regards.&lt;/PRE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Feb 2018 14:46:24 GMT</pubDate>
    <dc:creator>paiyyavj13</dc:creator>
    <dc:date>2018-02-09T14:46:24Z</dc:date>
    <item>
      <title>how to add a document which is part of one process task to another programmatically?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-a-document-which-is-part-of-one-process-task-to/m-p/38660#M16263</link>
      <description>Hi,I have a requirement wherein I have to add/link a document which is part of a process task into another similar already running process task.I did some research and I believe I could use the the REST api's :either link the document to the task:http://localhost:8080/activiti-app/api/enterprise/tas</description>
      <pubDate>Fri, 09 Feb 2018 14:46:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-a-document-which-is-part-of-one-process-task-to/m-p/38660#M16263</guid>
      <dc:creator>paiyyavj13</dc:creator>
      <dc:date>2018-02-09T14:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to add a document which is part of one process task to another programmatically?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-a-document-which-is-part-of-one-process-task-to/m-p/38661#M16264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used RelatedContentService instead to get the documents from one process and set it on another. Much more convenient.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 22:33:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-a-document-which-is-part-of-one-process-task-to/m-p/38661#M16264</guid>
      <dc:creator>paiyyavj13</dc:creator>
      <dc:date>2018-02-12T22:33:18Z</dc:date>
    </item>
  </channel>
</rss>

