<?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: How to createAttachment inside Java Service Task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-createattachment-inside-java-service-task/m-p/211013#M164143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I seem to be very late answering this but this works for me:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;String ActivitiPID = processInstance.getId(); &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Jun 2016 12:21:14 GMT</pubDate>
    <dc:creator>uzair_zaman</dc:creator>
    <dc:date>2016-06-06T12:21:14Z</dc:date>
    <item>
      <title>How to createAttachment inside Java Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-createattachment-inside-java-service-task/m-p/211011#M164141</link>
      <description>Hi, I am trying to createAttachament to a process, inside a JavaServiceTask.&amp;nbsp; My class implements JavaDelegate. I need to pass DB taskid to the method createAttachment, but I dont know where to get this value from:&amp;nbsp;&amp;nbsp;&amp;nbsp;taskService.createAttachment("application/pdf",&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;TASKID, execution.get</description>
      <pubDate>Fri, 13 Nov 2015 17:29:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-createattachment-inside-java-service-task/m-p/211011#M164141</guid>
      <dc:creator>mcormaechea</dc:creator>
      <dc:date>2015-11-13T17:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to createAttachment inside Java Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-createattachment-inside-java-service-task/m-p/211012#M164142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi tried sending null as taskId but I cannot see the attachment in activiti tables. I dont even get any exceptions. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Nov 2015 17:47:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-createattachment-inside-java-service-task/m-p/211012#M164142</guid>
      <dc:creator>mcormaechea</dc:creator>
      <dc:date>2015-11-13T17:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to createAttachment inside Java Service Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-createattachment-inside-java-service-task/m-p/211013#M164143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I seem to be very late answering this but this works for me:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;String ActivitiPID = processInstance.getId(); &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jun 2016 12:21:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-createattachment-inside-java-service-task/m-p/211013#M164143</guid>
      <dc:creator>uzair_zaman</dc:creator>
      <dc:date>2016-06-06T12:21:14Z</dc:date>
    </item>
  </channel>
</rss>

