<?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: Attach Document to the process in Java service in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/attach-document-to-the-process-in-java-service/m-p/237609#M190739</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;RelatedContentService.createRelatedContent() can be used to do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have posted some code in &lt;/SPAN&gt;&lt;A href="https://forums.activiti.org/content/pass-attachments-sub-process-call-activity" rel="nofollow noopener noreferrer"&gt;https://forums.activiti.org/content/pass-attachments-sub-process-call-activity&lt;/A&gt;&lt;SPAN&gt; which will show you how to add an attachment to a process instance and how to link it to a form field so that it can be viewed in any display value fields in subsequent tasks. Lemme know if this is of any help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ciju&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Oct 2016 05:13:34 GMT</pubDate>
    <dc:creator>cjose</dc:creator>
    <dc:date>2016-10-24T05:13:34Z</dc:date>
    <item>
      <title>Attach Document to the process in Java service</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/attach-document-to-the-process-in-java-service/m-p/237608#M190738</link>
      <description>Hi,We are using Enterprise Activiti 1.5, in our process we got task to call external system to retrieve document and attach it the to the current process. Created service to make the call but not able to find the right service to add the document as attachment.Please let me know what service can be</description>
      <pubDate>Mon, 03 Oct 2016 16:21:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/attach-document-to-the-process-in-java-service/m-p/237608#M190738</guid>
      <dc:creator>eramesh</dc:creator>
      <dc:date>2016-10-03T16:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Attach Document to the process in Java service</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/attach-document-to-the-process-in-java-service/m-p/237609#M190739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;RelatedContentService.createRelatedContent() can be used to do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have posted some code in &lt;/SPAN&gt;&lt;A href="https://forums.activiti.org/content/pass-attachments-sub-process-call-activity" rel="nofollow noopener noreferrer"&gt;https://forums.activiti.org/content/pass-attachments-sub-process-call-activity&lt;/A&gt;&lt;SPAN&gt; which will show you how to add an attachment to a process instance and how to link it to a form field so that it can be viewed in any display value fields in subsequent tasks. Lemme know if this is of any help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ciju&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 05:13:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/attach-document-to-the-process-in-java-service/m-p/237609#M190739</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2016-10-24T05:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Attach Document to the process in Java service</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/attach-document-to-the-process-in-java-service/m-p/237610#M190740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ciju,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I looked into your post earlier and had it working by calling the "relatedContentService.createRelatedContent" and setting the "FileAttach" variable to the content ID returned by the "createRelatedContent" method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ramesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 12:30:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/attach-document-to-the-process-in-java-service/m-p/237610#M190740</guid>
      <dc:creator>eramesh</dc:creator>
      <dc:date>2016-10-24T12:30:20Z</dc:date>
    </item>
  </channel>
</rss>

