<?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: Where does the workflow package go to die? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/where-does-the-workflow-package-go-to-die/m-p/290499#M243629</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when a workflows gets to completed state, it is kept anyway, but it is no more displayed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There's no need of you about cleaning up anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can always get info about completed workflows using WorkflowServices API: in fact there is a API called getCompletedWorkflows() in the workflowService which you can use for the purpose.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rgeards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrea&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jan 2014 13:37:46 GMT</pubDate>
    <dc:creator>abarisone</dc:creator>
    <dc:date>2014-01-14T13:37:46Z</dc:date>
    <item>
      <title>Where does the workflow package go to die?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-does-the-workflow-package-go-to-die/m-p/290498#M243628</link>
      <description>I have a workflow, I attach some files to it.&amp;nbsp; The user completes the workflow.Where does the workflow package go to die?Do I need to clean something up or does it go away when the workflow reaches the end task?</description>
      <pubDate>Tue, 14 Jan 2014 06:47:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-does-the-workflow-package-go-to-die/m-p/290498#M243628</guid>
      <dc:creator>mangar</dc:creator>
      <dc:date>2014-01-14T06:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: Where does the workflow package go to die?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-does-the-workflow-package-go-to-die/m-p/290499#M243629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when a workflows gets to completed state, it is kept anyway, but it is no more displayed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There's no need of you about cleaning up anything.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can always get info about completed workflows using WorkflowServices API: in fact there is a API called getCompletedWorkflows() in the workflowService which you can use for the purpose.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rgeards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andrea&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 13:37:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-does-the-workflow-package-go-to-die/m-p/290499#M243629</guid>
      <dc:creator>abarisone</dc:creator>
      <dc:date>2014-01-14T13:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Where does the workflow package go to die?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-does-the-workflow-package-go-to-die/m-p/290500#M243630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So if I want to get rid of the files in the workflow, I have to delete them before the task ends?&amp;nbsp; Im just thinking that there are going to be alot of documents hanging around in a no mans land. At some point this will cause a bloated repository and some performance issues, not to mention disk space.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 15:48:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-does-the-workflow-package-go-to-die/m-p/290500#M243630</guid>
      <dc:creator>mangar</dc:creator>
      <dc:date>2014-01-14T15:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Where does the workflow package go to die?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-does-the-workflow-package-go-to-die/m-p/290501#M243631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mangar,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If my understanding is correct, the documents attached to a workflow are just referenced by the bpm_package, not replicated. So I expect the only space occupied by the completed workflows is represented by the table rows about execution history. No documents should be hanging around!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Carlo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 17:27:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-does-the-workflow-package-go-to-die/m-p/290501#M243631</guid>
      <dc:creator>cgiuliano</dc:creator>
      <dc:date>2014-01-14T17:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Where does the workflow package go to die?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-does-the-workflow-package-go-to-die/m-p/290502#M243632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Carlo,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; However, the documents are NOT in the repository at first.&amp;nbsp; They are uploaded directly to the workflow package, like: content.putContent(file.inputStream()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Full code here: &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/forum/developer-discussions/workflow/add-file-workflow-package-problem-01112014-1527" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/forum/developer-discussions/workflow/add-file-workflow-package-problem-01112014-1527&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Once other tasks are complete, I copy them into the repository, then complete the workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; SO the question is; What happens to the Node of the workflow package once the workflow is complete. Because if it's not deleted, then that content would still be there correct?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 18:07:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-does-the-workflow-package-go-to-die/m-p/290502#M243632</guid>
      <dc:creator>mangar</dc:creator>
      <dc:date>2014-01-15T18:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Where does the workflow package go to die?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/where-does-the-workflow-package-go-to-die/m-p/290503#M243633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mangar,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I got your use case!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I haven't experience in that, but according to these posts&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;a&amp;gt;&lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/forum/developer-discussions/development-environment/explanations-about-workflowservice-and-related" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/forum/developer-discussions/development-environment/explanations-about-workflowservice-and-related&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/a&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;a&amp;gt;&lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/forum/developer-discussions/workflow/add-new-workflow-java-07042011-1616" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/forum/developer-discussions/workflow/add-new-workflow-java-07042011-1616&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/a&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the created packages should be stored in &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workspace://SpacesStore/system/workflow/packages&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I cannot check if there are document nodes associated to the packages (I don't use this kind of on-the-fly workflows), but I believe you can easily answer by using the node browser and check if there are nodes to be deleted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this can help you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Carlo&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 00:18:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/where-does-the-workflow-package-go-to-die/m-p/290503#M243633</guid>
      <dc:creator>cgiuliano</dc:creator>
      <dc:date>2014-01-16T00:18:53Z</dc:date>
    </item>
  </channel>
</rss>

