<?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 Advanced Workflow on spaves and not only content in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/advanced-workflow-on-spaves-and-not-only-content/m-p/110802#M77869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any reasons to limit Advanced workflow in the UI to document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would be usefull for us to have adhoc task for folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After looking at the api, and the working of workflow packages it seems that nothing prevent this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I modified the "start workflow with rules" example of the wiki to start the workflow on the parent of the document&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var workflow = actions.create("start-workflow");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflow.parameters.workflowName = "jbpm$wf:adhoc";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflow.parameters["bpm:workflowDescription"] = "ad hoc task on "&amp;nbsp; + document.name;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflow.parameters["bpm:assignee"] = people.getPerson("admin"); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var futureDate = new Date();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;futureDate.setDate(futureDate.getDate() + 7);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflow.parameters["bpm:workflowDueDate"] = futureDate;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;workflow.execute(document.parent); &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It doens't show up it the ui but if you use the node browser, the parent folder is containend in the workflow package. (the space in contained in 2 container, the parent space and the workflow package).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The &amp;lt;nodeWorkflowInfo&amp;gt;&amp;nbsp; doesn't seem to look for advanced worflow for spaces either.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There seems to be some code for this but there is a if (isContent) around it that makes it useless for spaces.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I this limitation just because it was not required at the time or will there be any tricky problem to do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there plan to add this in 2.1 or further versions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bertrand&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2007 08:42:33 GMT</pubDate>
    <dc:creator>miggy4340</dc:creator>
    <dc:date>2007-06-06T08:42:33Z</dc:date>
    <item>
      <title>Advanced Workflow on spaves and not only content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/advanced-workflow-on-spaves-and-not-only-content/m-p/110802#M77869</link>
      <description>Hello,Is there any reasons to limit Advanced workflow in the UI to document.I would be usefull for us to have adhoc task for folder.After looking at the api, and the working of workflow packages it seems that nothing prevent this.I modified the "start workflow with rules" example of the wiki to star</description>
      <pubDate>Wed, 06 Jun 2007 08:42:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/advanced-workflow-on-spaves-and-not-only-content/m-p/110802#M77869</guid>
      <dc:creator>miggy4340</dc:creator>
      <dc:date>2007-06-06T08:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced Workflow on spaves and not only content</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/advanced-workflow-on-spaves-and-not-only-content/m-p/110803#M77870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're right there isn't a technical reason why advanced workflow can't work with spaces. It was a time/people resource issue that this support was not added.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Support is not going to be in the 2.1 release but will more than liely be in a future release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 14:13:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/advanced-workflow-on-spaves-and-not-only-content/m-p/110803#M77870</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2007-06-20T14:13:55Z</dc:date>
    </item>
  </channel>
</rss>

