<?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: Restrictions on candidate users in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/restrictions-on-candidate-users/m-p/175561#M128691</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, we're talking about the same thing, but you're solution is probably better. You can indeed use a custom bean in those expressions to do what you need.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Mar 2014 14:25:13 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2014-03-19T14:25:13Z</dc:date>
    <item>
      <title>Restrictions on candidate users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restrictions-on-candidate-users/m-p/175556#M128686</link>
      <description>Hello,for a "Review document" workflow I have the requirement that a task shall not be claimed by the author of the document even if he/she is in candidateGroups. Assume the author's name is stored in a process variable. I guess it is possible to do so programmatically (Script task, or service call</description>
      <pubDate>Thu, 13 Mar 2014 09:59:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restrictions-on-candidate-users/m-p/175556#M128686</guid>
      <dc:creator>shr</dc:creator>
      <dc:date>2014-03-13T09:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Restrictions on candidate users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restrictions-on-candidate-users/m-p/175557#M128687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's a tricky requirement … even with scripts/expression it would be hard to do since the candidate group is in there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The way I see it, it must be done in a layer above Activiti, and it needs to be filtered out there.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 08:42:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restrictions-on-candidate-users/m-p/175557#M128687</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-03-17T08:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Restrictions on candidate users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restrictions-on-candidate-users/m-p/175558#M128688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your assessment. So you are suggesting to feed a list of the eligible users to Activiti's candidateUsers? candidateUsers seems to accept JUEL expressions, so I'll have a look into these.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 09:07:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restrictions-on-candidate-users/m-p/175558#M128688</guid>
      <dc:creator>shr</dc:creator>
      <dc:date>2014-03-17T09:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Restrictions on candidate users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restrictions-on-candidate-users/m-p/175559#M128689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, the problem is that the query will always use the candidategroups.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you need to write custom logic around this query that filters out the response when the owner fetches the task list&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 10:34:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restrictions-on-candidate-users/m-p/175559#M128689</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-03-17T10:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Restrictions on candidate users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restrictions-on-candidate-users/m-p/175560#M128690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think we have a misunderstanding here. Let me elaborate: Instead of [php]candidateGroup="reviewers"[/php] I was going to try something along the lines of [php]candidateUsers="${util.allExcept(reviewers, author)}"[/php]. The method would then query for tasks like [php]taskService.createTaskQuery().active().taskCandidateGroup(reviewers).list()[/php] and additionally filter the author from the list. Maybe that is also what you are suggesting. There are probably more ways how and where to apply the filtering, but this is the one solution I can think of at the moment.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2014 11:04:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restrictions-on-candidate-users/m-p/175560#M128690</guid>
      <dc:creator>shr</dc:creator>
      <dc:date>2014-03-17T11:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Restrictions on candidate users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restrictions-on-candidate-users/m-p/175561#M128691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, we're talking about the same thing, but you're solution is probably better. You can indeed use a custom bean in those expressions to do what you need.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 14:25:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restrictions-on-candidate-users/m-p/175561#M128691</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-03-19T14:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Restrictions on candidate users</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restrictions-on-candidate-users/m-p/175562#M128692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Cool. Thanks for sharing your perspective.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Mar 2014 14:31:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restrictions-on-candidate-users/m-p/175562#M128692</guid>
      <dc:creator>shr</dc:creator>
      <dc:date>2014-03-19T14:31:37Z</dc:date>
    </item>
  </channel>
</rss>

