<?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: AND condition on candidateGroup? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/and-condition-on-candidategroup/m-p/101771#M70709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The activiti:candidateGroup is just a shorthand for the verbose BPMN2.0 way of defining candidates for a user-task. In this syntax, no AND/OR semantics are present, so it's unlikely this attribute will be adjusted to the use-case you describe.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An approach you *could* take is to use a BPMNParseListener to alter the values of the candidates on the user-taks and further down in the implementation, use an altered version of the task-query that is used… However, this will require some digging into the activiti-code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another approach would be to have "special" groups, e.g. of a candidate-expression: "group(group1&amp;amp;group2), group(group3)". &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By default, the expression will resolve to 2 groups: "group1&amp;amp;group2" and "group3". In activiti, this means part of "group1&amp;amp;group2" or "group3". Now, if you alter the identity-management to return these "special" groups as "groups a user belongs to", activiti will show the task as claimable by someone in group1 and group2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Offcourse, this means a user gets a lot of extra special groups, when part of a lot of "normal" groups. So some kind or "restricting" mechanism should be created to only make special groups for well-known groups which are likely to be used in "AND" semantics…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Nov 2012 10:25:17 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2012-11-08T10:25:17Z</dc:date>
    <item>
      <title>AND condition on candidateGroup?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/and-condition-on-candidategroup/m-p/101770#M70708</link>
      <description>Hi all,I need some assistance in how to achieve AND conditions on groups. Our business requirements are basically that in some cases it is enough that the user has one of the stated groups (as in activiti:candidateGroups), in some cases they need to belong to both. As far as my understanding of Acti</description>
      <pubDate>Wed, 07 Nov 2012 18:41:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/and-condition-on-candidategroup/m-p/101770#M70708</guid>
      <dc:creator>petter_f</dc:creator>
      <dc:date>2012-11-07T18:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: AND condition on candidateGroup?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/and-condition-on-candidategroup/m-p/101771#M70709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The activiti:candidateGroup is just a shorthand for the verbose BPMN2.0 way of defining candidates for a user-task. In this syntax, no AND/OR semantics are present, so it's unlikely this attribute will be adjusted to the use-case you describe.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;An approach you *could* take is to use a BPMNParseListener to alter the values of the candidates on the user-taks and further down in the implementation, use an altered version of the task-query that is used… However, this will require some digging into the activiti-code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another approach would be to have "special" groups, e.g. of a candidate-expression: "group(group1&amp;amp;group2), group(group3)". &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;By default, the expression will resolve to 2 groups: "group1&amp;amp;group2" and "group3". In activiti, this means part of "group1&amp;amp;group2" or "group3". Now, if you alter the identity-management to return these "special" groups as "groups a user belongs to", activiti will show the task as claimable by someone in group1 and group2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Offcourse, this means a user gets a lot of extra special groups, when part of a lot of "normal" groups. So some kind or "restricting" mechanism should be created to only make special groups for well-known groups which are likely to be used in "AND" semantics…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 10:25:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/and-condition-on-candidategroup/m-p/101771#M70709</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-11-08T10:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: AND condition on candidateGroup?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/and-condition-on-candidategroup/m-p/101772#M70710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the response Frederik,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I will have to go along the lines of the second approach you mention. Need to have a discussion with the business side in order to minimize the number of special occasions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hopefully someday the AND condition on groups will be supported in bpmn. The truth of the matter is that I am in reality modeling teams and skills as groups in Activity, and the need for AND conditions arises from this fact….Maybe I simply need to implement this on the "outside", but I was looking for a way to do it directly in Activity since I am a bit concerned about performance issues when doing it programtically in my own code…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/Petter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2012 12:36:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/and-condition-on-candidategroup/m-p/101772#M70710</guid>
      <dc:creator>petter_f</dc:creator>
      <dc:date>2012-11-08T12:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: AND condition on candidateGroup?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/and-condition-on-candidategroup/m-p/101773#M70711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I actually think we should have support for expression in there … &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I created &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-1448" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-1448&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 23:07:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/and-condition-on-candidategroup/m-p/101773#M70711</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-11-13T23:07:12Z</dc:date>
    </item>
  </channel>
</rss>

