<?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: Check the group of the creator in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/check-the-group-of-the-creator/m-p/262800#M215930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've tryed it and doesn't work… The error I get in the log file is: "document" doesn't exist. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I definde the document as the current document involved in the workflow??? Help, please!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Nov 2010 19:35:58 GMT</pubDate>
    <dc:creator>roseta</dc:creator>
    <dc:date>2010-11-30T19:35:58Z</dc:date>
    <item>
      <title>Check the group of the creator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/check-the-group-of-the-creator/m-p/262798#M215928</link>
      <description>I'm working with advanced workflows in xml files. In a certain node of my workflow, I would like to copy the document into a folder called "Professor" if the creator or the document is a professor, or to a folder called "student" if the creator is a student. I already know how to create folders and</description>
      <pubDate>Sun, 28 Nov 2010 17:27:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/check-the-group-of-the-creator/m-p/262798#M215928</guid>
      <dc:creator>roseta</dc:creator>
      <dc:date>2010-11-28T17:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Check the group of the creator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/check-the-group-of-the-creator/m-p/262799#M215929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Something like this (test it, I didn't tried this)…&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var youruser = document.creator; // get your user from somewhere, don't know if this works…&lt;BR /&gt;var g = getGroup("Students");&lt;BR /&gt;var users = g.getAllUsers();&lt;BR /&gt;var i;&lt;BR /&gt;for(i=0; i&amp;lt;users.length; i++)&lt;BR /&gt;{&lt;BR /&gt; if(users[i] =youruser)&lt;BR /&gt; {&lt;BR /&gt;&amp;nbsp; …&lt;BR /&gt;&amp;nbsp; move folder code here&lt;BR /&gt;&amp;nbsp; …&lt;BR /&gt; }&lt;BR /&gt;}&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Nov 2010 07:59:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/check-the-group-of-the-creator/m-p/262799#M215929</guid>
      <dc:creator>matjazmuhic</dc:creator>
      <dc:date>2010-11-29T07:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Check the group of the creator</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/check-the-group-of-the-creator/m-p/262800#M215930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've tryed it and doesn't work… The error I get in the log file is: "document" doesn't exist. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I definde the document as the current document involved in the workflow??? Help, please!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 19:35:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/check-the-group-of-the-creator/m-p/262800#M215930</guid>
      <dc:creator>roseta</dc:creator>
      <dc:date>2010-11-30T19:35:58Z</dc:date>
    </item>
  </channel>
</rss>

