Skip to main content
February 22, 2022
Question

Filter to only show tasks assigned to groups which a user is a member of

  • February 22, 2022
  • 5 replies
  • 0 views

I have a requirement to have my read only grid which is populating from a process report only show the tasks for groups which a user is a member of (located in column c2).

I have tried using a filter with isLoggedInUserMemberOfGroup(LoggedInUser(),fv!row.c2) but this yeilds an improperly scoped variable. Please assist.

    5 replies

    stefanhelzle0001
    Brainy
    February 22, 2022

    Why not just use a user context task report?

    February 22, 2022

    Because we need this to be a process report so it can be fed by multiple process models. so the filtering must be done at the interface level. 

    stefanhelzle0001
    Brainy
    February 22, 2022

    I solve this by using a user context report and then filter by the process models. I add a column for the process model UUID, then create a constant holding all the UUIDs I need.

    gopalk2865
    Participating Frequently
    February 23, 2022

    Hi , why don't you handle this in local variable or in a expression rule. Try to filter the data in local variable itself then feed this data into grid.

    harshitb6843
    February 23, 2022

    Hi there, 

    You can use this function - getgroupsformemberuser()
    Then pass the output as filter in the queryRule