<?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 Complete CheckOut/CheckIn Cycle in an advanced Workflow in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/complete-checkout-checkin-cycle-in-an-advanced-workflow/m-p/86739#M58669</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;I need to set up an environment allowing users to CheckOut read-only documents,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;without the permission of checking them in again until a second user reviewed the documents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the CheckOut/Lock permission requires write permission (right?), &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so I thought about an advanced workflow which&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;nbsp; ChecksOut the requested documents as admin user&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;nbsp; allows the initiator to change the workingcopy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;nbsp; Submit an Reviewer-Task to an User pool if the initiator finished editing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- CheckIn the documents if the reviewer is happy (again as admin user)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While programming the workflow I met a problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The CheckIn function needs the workingCopyâ€™s noderef as argument, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but the workflow package only contains the original documentâ€™s node. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I need to save the return value from the CheckOut function for the CheckIn task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought about changing the workflow package, but this seems not yet implemented in 2.0,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so I thought about sth like adding an aspect similar to bpm:assignees , which haves an&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;association to itself, to store multiple cm:content instead of cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;erson. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I donâ€™t know how to do that in alfresco script. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or is there a way to access the DocumentDetailsBean.workingCopyDocument&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in alfresco script like in document-details.jsp? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(I donâ€™t know how to access a custom action class from a workflow)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So my first question is whether the concept is good at all, or is there an easier way to allow users to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CheckOut ReadOnly documents and add a condition to the CheckIn mechanism?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe somebody out there made already what I need, itâ€™s after all not a very special thingâ€¦&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 May 2007 10:59:03 GMT</pubDate>
    <dc:creator>gl</dc:creator>
    <dc:date>2007-05-24T10:59:03Z</dc:date>
    <item>
      <title>Complete CheckOut/CheckIn Cycle in an advanced Workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complete-checkout-checkin-cycle-in-an-advanced-workflow/m-p/86739#M58669</link>
      <description>Hi,I need to set up an environment allowing users to CheckOut read-only documents,without the permission of checking them in again until a second user reviewed the documents.But the CheckOut/Lock permission requires write permission (right?), so I thought about an advanced workflow which-&amp;nbsp; ChecksOut</description>
      <pubDate>Thu, 24 May 2007 10:59:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complete-checkout-checkin-cycle-in-an-advanced-workflow/m-p/86739#M58669</guid>
      <dc:creator>gl</dc:creator>
      <dc:date>2007-05-24T10:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Complete CheckOut/CheckIn Cycle in an advanced Workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complete-checkout-checkin-cycle-in-an-advanced-workflow/m-p/86740#M58670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'll provide any information if you need it, if it helps, I can post my definitions or models.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 11:11:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complete-checkout-checkin-cycle-in-an-advanced-workflow/m-p/86740#M58670</guid>
      <dc:creator>gl</dc:creator>
      <dc:date>2007-05-30T11:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Complete CheckOut/CheckIn Cycle in an advanced Workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complete-checkout-checkin-cycle-in-an-advanced-workflow/m-p/86741#M58671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;gl,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How did you go getting example files? I would be interested in seeing what you ended up with.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 09:05:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complete-checkout-checkin-cycle-in-an-advanced-workflow/m-p/86741#M58671</guid>
      <dc:creator>mdickson</dc:creator>
      <dc:date>2007-08-01T09:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Complete CheckOut/CheckIn Cycle in an advanced Workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/complete-checkout-checkin-cycle-in-an-advanced-workflow/m-p/86742#M58672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry that the answer took some time, my company gave me another project to work on in the meantime, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the look-for-document-management project is still frozen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Getting&amp;nbsp; example files:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can get the example files in the Alfresco tree.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have the community version take a look at &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\workflow\&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I ended up with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had 2 weeks to get a picture of alfresco, but I didnÃ¢â‚¬â„¢t solve this problem and I wonÃ¢â‚¬â„¢t try it again without help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2007 14:24:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/complete-checkout-checkin-cycle-in-an-advanced-workflow/m-p/86742#M58672</guid>
      <dc:creator>gl</dc:creator>
      <dc:date>2007-08-20T14:24:40Z</dc:date>
    </item>
  </channel>
</rss>

