<?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: creating documents via workflow in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/creating-documents-via-workflow/m-p/247008#M200138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Cool, glad you got it working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jul 2012 14:37:28 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2012-07-05T14:37:28Z</dc:date>
    <item>
      <title>creating documents via workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-documents-via-workflow/m-p/247005#M200135</link>
      <description>I developed a workflow using activiti engine and succeeded to integrate it in alfresco .I want to modify&amp;nbsp; one task in my workflow then it generates the creation of&amp;nbsp; documents (word,pdf…) and modifying them.How can I proceed to do it?Which tutorials can help me?Thanks</description>
      <pubDate>Sun, 27 May 2012 12:23:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-documents-via-workflow/m-p/247005#M200135</guid>
      <dc:creator>ramimoncer</dc:creator>
      <dc:date>2012-05-27T12:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: creating documents via workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-documents-via-workflow/m-p/247006#M200136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are asking how to create a word doc or a PDF document in their native formats, you're going to have to find and use a Java API to help you do that. You might see if &lt;/SPAN&gt;&lt;A href="http://poi.apache.org/" rel="nofollow noopener noreferrer"&gt;Apache POI&lt;/A&gt;&lt;SPAN&gt; will do the trick for your Office document needs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An alternative would be to write a web service and have your activiti task invoke that service and get called back when the document is done being created. You could then place that document in the repository and add it to the workflow package if that is what you need to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are asking how to create a new document object in the repository from an Activiti task refer to the &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/4.0_JavaScript_API" rel="nofollow noopener noreferrer"&gt;Alfresco JavaScript API&lt;/A&gt;&lt;SPAN&gt;. You'll want either the createFile or createNode functions that are in ScriptNode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 23:40:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-documents-via-workflow/m-p/247006#M200136</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-06-22T23:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: creating documents via workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-documents-via-workflow/m-p/247007#M200137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Jeff, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I used JavaScript to create the document:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var doc1 =createdFolder.createFile(scwf_nomclient);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;doc1.mimetype = "text/plain";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;doc1.content ="nom du projet&amp;nbsp; "+ scwf_nomprojet+"\n nom client&amp;nbsp; "+scwf_nomclient;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 09:45:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-documents-via-workflow/m-p/247007#M200137</guid>
      <dc:creator>ramimoncer</dc:creator>
      <dc:date>2012-07-04T09:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: creating documents via workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-documents-via-workflow/m-p/247008#M200138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Cool, glad you got it working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2012 14:37:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-documents-via-workflow/m-p/247008#M200138</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-07-05T14:37:28Z</dc:date>
    </item>
  </channel>
</rss>

