Task List

Hi all,

I want to display all the tasks which are assigned to xyz groups.I have used process report for the same and also getting the task lists which are assigned to that xyz group and also getting same task more than 4 times for the same assignee.  Can someone suggest on the same?

Thanks in advance.

  Discussion posts and replies are publicly visible

Parents Reply
  • I ran a few tests here and I do see the same when using contextUsers, what this is doing is pulling one task per user, when each of the 4 users have the same task (assigned to their group), it is listing one for each user.

    I believe you can resolve by changing the context from users to groups, utilizing contextGroups instead.  This will pull one task each for the group(s). 

    The only catch there will be that once the task is accepted by a user, it will drop from the report since it is no longer assigned to the entire group - which may fit your use case.?

    At any rate, try changing:

          contextUsers: getdistinctusers(
            {
              cons!MAKER_GROUP,
              cons!CHECKER_GROUP,
              cons!MANAGER_GROUP
            }
          ),

    To:

          contextGroups: {
              cons!MAKER_GROUP,
              cons!CHECKER_GROUP,
              cons!MANAGER_GROUP
            },

Children