<?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: Explanations about WorkflowService and related classes in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/explanations-about-workflowservice-and-related-classes/m-p/209484#M162614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, I hadn't read that page. Always search all sources before asking… I should have remembered that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Valuable information in there, thank you for pointing it and for your reply.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 May 2009 07:29:34 GMT</pubDate>
    <dc:creator>amenel</dc:creator>
    <dc:date>2009-05-13T07:29:34Z</dc:date>
    <item>
      <title>Explanations about WorkflowService and related classes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/explanations-about-workflowservice-and-related-classes/m-p/209482#M162612</link>
      <description>Hi all,I an currently trying to integrate workflows into some Java piece of software we wrote that uses Alfresco. I have little general knowledge about workflows so I am targeting the well-informed people around here. All classes I refer to are in org.alfresco.service.cmr.workflowIn WorkflowService,</description>
      <pubDate>Mon, 11 May 2009 15:40:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/explanations-about-workflowservice-and-related-classes/m-p/209482#M162612</guid>
      <dc:creator>amenel</dc:creator>
      <dc:date>2009-05-11T15:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Explanations about WorkflowService and related classes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/explanations-about-workflowservice-and-related-classes/m-p/209483#M162613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you looked at this page? &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Workflow_Reqs_and_Design#Workflow_APIs" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Workflow_Reqs_and_Design#Workflow_APIs&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- If I start an advanced workflow from a content's properties page, is it correct to say that doing so created a workflow instance ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- What is the meaning attached to WorkflowNode, workflowPackage and context ? I am trying to know whether one of these holds a reference to the content I started the workflow for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WorkflowNode - a node within a workflow definition. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Workflow package contains the data that the workflow operates upon.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- How can I determine (from the WorkflowPath object that's returned) which content the workflow instance I started is attached to ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;instance.workflowPackage()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- How can I grab the taskId for the "start task" from the WorkflowPath object returned ? Is there even a taskId attached to a "start task" ? This question is motivated by the user actions I plan to have later (one button per possible transition), which will only require using "updateTask" (to save properties) and "endTask" (to follow transitions).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes there is a taskId&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 21:20:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/explanations-about-workflowservice-and-related-classes/m-p/209483#M162613</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2009-05-12T21:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Explanations about WorkflowService and related classes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/explanations-about-workflowservice-and-related-classes/m-p/209484#M162614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, I hadn't read that page. Always search all sources before asking… I should have remembered that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Valuable information in there, thank you for pointing it and for your reply.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 07:29:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/explanations-about-workflowservice-and-related-classes/m-p/209484#M162614</guid>
      <dc:creator>amenel</dc:creator>
      <dc:date>2009-05-13T07:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Explanations about WorkflowService and related classes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/explanations-about-workflowservice-and-related-classes/m-p/209485#M162615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am coming back here for what I think is the last thing that's not quite clear yet about workflows: how packages are treated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am specifically interested in creating a package and attaching (programmatically) an existing content to an already started workflow instance. I guess that, when calling updateTask, I can use params.put(WorkflowModel.ASSOC_PACKAGE, myPackage) to specify the folder I want as package. But, how can I "add" a content to the package while not moving (or cloning) that content from its current location to under my package folder ? To put it differently, I do not want to use a ContentModel.ASSOC_CONTAINS association between the package folder and the pre-existing content, which I think will fail anyway. Or else, what type of association should I create between the package and the content to have that content returned by WorkflowService.getPackageContents&amp;nbsp; and the workflow returned by WorkflowService.getWorkflowsForContent ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other question, when I use WorkflowService.createPackage(null), is there a default location for the package just created ? If yes, what is it ? and if no, what happens then ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any insights into this subject will be appreciated. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Aug 2009 09:23:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/explanations-about-workflowservice-and-related-classes/m-p/209485#M162615</guid>
      <dc:creator>amenel</dc:creator>
      <dc:date>2009-08-13T09:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Explanations about WorkflowService and related classes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/explanations-about-workflowservice-and-related-classes/m-p/209486#M162616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;But, how can I "add" a content to the package while not moving (or cloning) that content from its current location to under my package folder ? To put it differently, I do not want to use a ContentModel.ASSOC_CONTAINS association between the package folder and the pre-existing content, which I think will fail anyway.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;This was a wrong assumption of mine. Even when using ContentModel.ASSOC_CONTAINS, the content remains in its parent folder while still being associated with the workflow instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Other question, when I use WorkflowService.createPackage(null), is there a default location for the package just created ? If yes, what is it ? and if no, what happens then ?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;The package is created under what seems to be a system folder. Use NodeService.getPath on the node ref to get it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 12:52:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/explanations-about-workflowservice-and-related-classes/m-p/209486#M162616</guid>
      <dc:creator>amenel</dc:creator>
      <dc:date>2009-08-27T12:52:27Z</dc:date>
    </item>
  </channel>
</rss>

