Task Report for specific process and user

I am working on a task report for a process-specific task report that I want to be filtered to only tasks assigned to the logged in user or a group that they are a member of (in the same way as the default tempo task list). I was planning to use the function (where the value for ri!array is tp!assignees) below as a data field that I would be able to filter on, but it seems like task reports don't accept looping functions.

or(
  a!forEach(
    items: ri!array,
    expression: if(
      runtimetypeof(fv!item)=4,
      fv!item = loggedinuser(),
      isusermemberofgroup(loggedinuser(),fv!item)
    )
  )
)

Is there another way to accomplish user filtering within a process-specific task report?

  Discussion posts and replies are publicly visible

Parents Reply Children