<?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: Assign task to a group from a document property in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/assign-task-to-a-group-from-a-document-property/m-p/279621#M232751</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;BR /&gt;&lt;SPAN&gt;You should consider having a variable that will hold the group authority name and pass it to the process definition file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var tempGrp = "GROUP_" + test.children[0].properties["hula:department"];&lt;BR /&gt;var grp = people.getGroup(tempGrp);&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;And in your process definition you write something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt; activiti:candidateGroups="${grp.properties.authorityName}"&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps, if so Mark comment as useful.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 May 2015 09:59:54 GMT</pubDate>
    <dc:creator>darkredd</dc:creator>
    <dc:date>2015-05-22T09:59:54Z</dc:date>
    <item>
      <title>Assign task to a group from a document property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/assign-task-to-a-group-from-a-document-property/m-p/279620#M232750</link>
      <description>Hi AllWe are launching the workflow from a file which has a type with a property called "Departament". The Departament value is the name of the alfresco Group the workflow needs to assign the task… so now dont know exactly how to specify the group dinamically so Alfresco assigns the task to the righ</description>
      <pubDate>Thu, 21 May 2015 17:48:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/assign-task-to-a-group-from-a-document-property/m-p/279620#M232750</guid>
      <dc:creator>magarcia_sm</dc:creator>
      <dc:date>2015-05-21T17:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Assign task to a group from a document property</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/assign-task-to-a-group-from-a-document-property/m-p/279621#M232751</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;BR /&gt;&lt;SPAN&gt;You should consider having a variable that will hold the group authority name and pass it to the process definition file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var tempGrp = "GROUP_" + test.children[0].properties["hula:department"];&lt;BR /&gt;var grp = people.getGroup(tempGrp);&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;And in your process definition you write something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt; activiti:candidateGroups="${grp.properties.authorityName}"&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps, if so Mark comment as useful.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 May 2015 09:59:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/assign-task-to-a-group-from-a-document-property/m-p/279621#M232751</guid>
      <dc:creator>darkredd</dc:creator>
      <dc:date>2015-05-22T09:59:54Z</dc:date>
    </item>
  </channel>
</rss>

